posted 15 years ago
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
Posts: 11
posted 15 years ago
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 ]
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 ]
Chris Chen<br />From Beijing,China
Michael Yuan
author
Ranch Hand
Ranch Hand
Posts: 1427
posted 15 years ago
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.
Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
