• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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.
 
permaculture is giving a gift to your future self. After reading this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic