wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes Regarding J2ME Polish & System properties Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Regarding J2ME Polish & System properties" Watch "Regarding J2ME Polish & System properties" New topic
Author

Regarding J2ME Polish & System properties

Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
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


Regards,
Jignesh

The Art Of Life Is To Know When To Be Useless And When To Be Useful - CHUANG TZU
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Jignesh Gohel
Ranch Hand

Joined: Dec 28, 2004
Posts: 276
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

Joined: Feb 05, 2001
Posts: 17260
    
    6

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding J2ME Polish & System properties