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

Regarding J2ME Polish & System properties

 
Jignesh Gohel
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I would like to ask that is it possible to get the operating System name & its version using J2ME for the mobile phones . Also if it's possible to get other system properties which are they & for which phones they are supported??

Also I am making a J2ME application in which i have to manage my contacts on the mobile phone
I want to know can i get the sample code for using J2mE polish api for phonebook & also please tell me where can i find the docs for that polish.api.phonebook.

One thing more to ask is that if i am using J2mE polish then how many phones I mean Motorola ,Nokia,etc would support this J2ME polish.

Also please let me know from where can i get the "Motorola's PhoneBook Access API".

Thanking u,
jignesh
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I can answer maybe two. First J2ME Polish is not a "run on certain phones only" thing. Actually most of the work that J2ME Polish does is pre-compiler.

If the devices xml file doesn't have your phone in there already you can always add it yourself. That is the flexibility that it gives you.

As far as learning J2ME Polish. There is currently a new book from Apress called Pro J2ME Polish which is written by the guys who created J2ME Polish.

There are also tutorials on their website.

Good Luck.

Mark
 
Jignesh Gohel
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Mark,

Thanks for the reply.
But i am not able to get ur response clearly.

Could u please elaborate more on ur statement
"Actually most of the work that J2ME Polish does is pre-compiler".

Thanks
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I meant that when you go to compile your code, J2ME Polish first does stuff to your code before it gets to the compiler. Hence pre-compiler.

J2ME polish has directives that can either include or not include certain code snippets based on the device or type of group of devices that you are creating a package for.

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