• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Using CLDC APIs in CDC

 
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
 
ranger
Posts: 17346
11
Mac IntelliJ IDE 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
 
They gave me pumpkin ice cream. It was not pumpkin pie ice cream. Wiping my tongue on this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic