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

Can J2ME apps insert directly into native address book?

 
Coco Lee
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm wondering how J2ME apps communicate with the device's native UI. For example, can J2ME apps insert information directly into a device's address book? Can J2ME use the sound tones (and ringers) already on the device?
I'm new to the J2ME world, so sorry if this question seems basic.
Thanks,
Coco
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before the PDA optional package is implemented on your device, you have to rely on the vendor specific API to access the native clients. Some vendors provide such APIs, some do not.
 
Coco Lee
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So does this mean the device manufactures have a choice of implementing these "optional" packages or not?
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Coco Lee:
So does this mean the device manufactures have a choice of implementing these "optional" packages or not?

Yes. They can also choose to implement proprietary APIs. MIDP specifies the minimum set of APIs everybody has to implement.
I know it sounds like a lot of fragmentation. But that is what JSR 185 is for: It specifies a set of optional packages everyone has to implement in order to carry a certain logo.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic