how to dynamically get mobile IMEI number in J2me?

2019-01-19 10:13发布

问题:

I has developed one j2me mobile application. Now client side want to see the mobile IMEI number.

So I don't know how to get it, I have tried this line System.getProperty("com.nokia.IMEI"); but it will come null only.

回答1:

Nokia

System.getProperty("phone.imei");
System.getProperty("com.nokia.imei");
System.getProperty("com.nokia.mid.imei"); //especially for S40  devices

Note: Requires signed MIDlet. S60 3rd edition device does not requires signing to fetch this info.On Series 40 phones this requires that your MIDlet is signed to either operator or manufacturer domain, and this is only available in Series 40 3rd Edition, FP1 

devices and newer. Sony Ericsson

System.getProperty("com.sonyericsson.imei");

Samsung

System.getProperty("com.samsung.imei");

Motorola

System.getProperty("IMEI");
System.getProperty("com.motorola.IMEI");

Siemens

System.getProperty("com.siemens.IMEI");

LG

System.getProperty("com.lge.imei");


回答2:

You can combine the above calls with System.getProperty(“microedition.platform”) in order to get a good solution to your problem.



回答3:

You can try GET IMEI FROM J2ME this to get imei from different phone