I'm new to this micro things. I was wondering that can I create different UIs for CLDC and CDC devices? This is because if we know that PDA has more resources then we can use more functionality and better UI you know.
I guess if we create UI having CLDC in mind then it would work on CDC devices but will not use power of the device.
If we want to create CDC device specific UI then do I have to create different UI code for different devices? (as CDC might be device specific) OR are there any standard CDC UI APIs that will allow me write code once and run it on PalmOS, PDA from different companies...?
Please help me in resolving my confusion?
posted 14 years ago
I guess that this helps me understand that I can't write CDC API code on Windows and test it on any emulator. I would try it with Linux and see if it works.
The CDC does not have any UI API. To run UI applications on PDA devices (e.g., PocketPC or Nokia Communicator or Sony/Ericsson P900 but NOT PalmOS), you need the Personal Profile (PP). The UI API in the current PP is just AWT 1.1. In the next release of PP, it will be upgraded to swing 1.4.
Using the Nokia Developer Suite with Eclipse, you can test PP UI applications for Nokia 9500 on a windows emulator. For other devices, you need to install the compiled Java classes into the device in order to the test UI -- no emulators.
I think it sucks. But CDC/PP has always been second class citizen in the J2ME world.
The PDAP post to the kvm list you mentioned refers to JSR 75. It has completely changed its scope in the past 2 years and no longer provide any UI support for Palm devices. 2 years is an eternity in J2ME.