Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

Using CLDC APIs in CDC

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
He's my best friend. Not yours. Mine. You can have this tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic