wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes How to obtain infomations in SIM Cards wth J2ME? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to obtain infomations in SIM Cards wth J2ME?" Watch "How to obtain infomations in SIM Cards wth J2ME?" New topic
Author

How to obtain infomations in SIM Cards wth J2ME?

Chris Chen
Greenhorn

Joined: Jul 20, 2001
Posts: 11
Someone asked me this question, but I don't know how to, and I even don't know if j2me can do this. If you have any documents about this or any examples carring this out, please help me.
Thanks for reply.//bow


Chris Chen<br />From Beijing,China
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Right now, no ... But JSR 177 is supposed to provide a way ...


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
Chris Chen
Greenhorn

Joined: Jul 20, 2001
Posts: 11
Thank you very much.
I find this info from http://www.csdn.net/,but someone tested and says it doesn't work. Can anyone have a check for me? Thank you.
from csdn.net:
Each mobile phone has a special IMEI number,dial "*#06#" can get it.
With J2ME you can use following codepage to check the application is run on a simulator or a phone:

And I got following infomation from jguru.com:
by Itoyjaved C@jguru:
You can access IMEI programtically using Siemens SL45i through the following property :
System.getProperty("com.siemens.IMEI");
Though this is not a standard feature according to J2ME specs.
This solution is just for Siemens SL45i.As such Midp doesn't say anything about IMEI number and way to access it. So it is possible that your code to access IMEI will not work when ported to a different phone from a different Manufacturer.
[ October 07, 2002: Message edited by: Chris Chen ]
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Well, I do not know how much the csdn tip is worth. It might work on some phone models. If you know your exact deployment platform, you can consult with the MIDP mannual that comes with your phone developer kit. I imagine most MIDP device vendors provide extensions to access their underlying hardware. But again, those programs will not be portable. We really need a standard way to access the SIM cards.
Chris Chen
Greenhorn

Joined: Jul 20, 2001
Posts: 11
Thanks.
But again, those programs will not be portable. We really need a standard way to access the SIM cards.

//Agree
Hope MIDP 2.0 can bring this feature to us.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to obtain infomations in SIM Cards wth J2ME?
 
Similar Threads
Google map interface in my J2ME Midelt
J2ME with CDC,FP,PP
About J2ME
Java Blueprints for Wireless
Sending SMS using J2ME