how to dynamically get mobile IMEI number in J2me?

3k Views Asked by At

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.

3

There are 3 best solutions below

0
On

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

3
On

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");
0
On

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