• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how create UI for CDC devices?

 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic