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
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 ]
Joined: Mar 07, 2002
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.
Joined: Jul 20, 2001
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.
subject: How to obtain infomations in SIM Cards wth J2ME?