Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PIM optional API

 
Tamer Badr
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm making an applicatiuon using J2ME PIM optional API, PIM is not core MIDP API, so I have two choices, to combine it with the application as a library or check for it's existance on the deployment device before the application runs, as far as I know, that I can't add the PIM library to my application as a library, and when I try to do it gives me preverification error, the check for it is by retrieving the system property "microedition.pim.version", and from it's name it looks to be a java library, so it has to be pre-installed on the device.
I know that all 99% of devices have PIM, even the old non-java devics, I need to know about the availability of java PIM access API on nowadays phones, so when I make an application using J2ME PIM, then how it's going to be supported by phones?
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AFAIK, no, you cannot add it. (I feel your pain on this regard - I've been having my own problems with JSR-82 support (Bluetooth). Certainly, being able to include a library would be so nice.) And you're correct - the way to handle it is to retrieve the value for the system property and see if it exists - if it does, enable the functionality, and if not, don't.

One place you can check for the information is the J2ME Polish site (it's an API for easily making cross-device-compatible and pretty apps with a minimum of fuss), which lists the functionality of a great many handsets today. Another way is to do a quick search around Google for the ones you're interested in building for... either way, you'll have to likely somewhere in the system put in the check.

Best of luck!
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are looking at nokia phones that support PIM type this in google

"nokia <nokia number> device details" the first result will be that from the nokia forum and it will give you jsr details of the phone. Was very helpful for me. I programmed OBEX transfer on a 3230 and wondered why it didnt work until i saw the page that google returned. It said JSR 82 - NO OBEX
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic