Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using CLDC APIs in CDC

 
Richard Everhart
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I were to write a MIDP application that utilized, say, PushRegistry and some WMA functionality, how would I be able to migrate this functionality to a CDC app?

Currently, I need to access what is required to create an app that will certainly run on a MIDP-enabled device (Blackberry) and possibly a CDC-enabled device, like the next version of Palm Treo running Windows Mobile Version 5.0.

I have previously written a CDC/PersonalProfile app but it was just like writing J2SE app, in that no special connectivity was required (and I could use Swing -- I used CrEmE from NSI.com). For the app I'm working on now, I might need features available with PushRegistry and WMA API which I know are available with MIDP but not with CDC, afaik.

Any help much appriciated.

Richard
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See that's the thing the CDC won't have a PushRegistry, so you can't write code that has that and expect it run on a CDC device. It looks like you would need two different versions of your app.

Maybe, but I say Maybe, J2ME Polish has a way to help you, but I doubt it.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic