Problems with Motorola J2ME SDK v5.3.1 and Mobility Pack 5.0

You can download the Motorola J2ME SDK v5.3.1 from motocoder.com. There are two major problems with this emulator platform in NetBeans Mobility Pack 5.0.
First is name collision when you are adding this platform. Second is that you cannot switch the device. I'll show how to solve it. Well, maybe better term is how to work around it. Install the SDK at first.

Adding the Motorola SDK platform
You can add the platform in Tools | Java Platform Manager | Add Platform... | Java Micro Edition Platform Emulator. The IDE will find your installed SDKs.

Click Next and there is the problem. The collision in names of the platforms. Well, it's caused by Motorola SDK. It returns the same name "MicroJblend" for both platforms A.4, A.3

The solution is simple. Rename one of the platforms in the collision to a different name. E.g. MicroJblend2 ;)


Switch Device
Don't be suprised that nothing happens when you change the device in Project Properties. The problem is noticed even in Motorola's release notes - "Changing the device in Netbeans using UEI is not working currently. Workaround – Start the MIDlet in the Launchpad selecting the desired device. All subsequent launch will use this device until this procedure is repeated". This is unfortunatelly true. You have to use the Motorola's LaunchPad. Please, do it before you run Motorola's SDK from IDE. If you don't do it then the emulator start and closes immediatelly.


Comments:

Cool, this should probably fix the problem I reported during the NetCAT program, right?

Posted by Markus Svensson on February 16, 2006 at 01:23 PM CET #

I think so. And you know what. They maybe included it in the release notes due to your (or Daniel MD) report :)

Anyway - mobility pack officially supports (means - IS TESTED) only with WTK2.2 But we want to provide useful way how to add different platforms too ;)

Posted by Lukas on February 17, 2006 at 02:20 AM CET #

It was Daniel who reported it to Motorola, so he should get the credit. :)

Posted by Markus Svensson on February 17, 2006 at 03:22 AM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This is the main channel to share news, tips and other stuff related to my work. Sometimes you can find even personal stuff. Enjoy your reading...

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today
news
Blogroll

No bookmarks in folder

OldNews
MyTrash
NavBar
NetBeans
LinksToBeExpanded