aspose file tools*
The moose likes Java Micro Edition and the fly likes how create UI for CDC devices? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "how create UI for CDC devices?" Watch "how create UI for CDC devices?" New topic
Author

how create UI for CDC devices?

Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
hi all,

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?

Thanks
Maulin
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1871
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.

Other thoughts are welcome.

Thanks
Maulin
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
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.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how create UI for CDC devices?