I have a problem getting the device IMEI in J2me, I have tried all the strings in those posts, and also case sensitive but I always get null
http://qa.java-samples.com/questions/742/how-to-get-the-imei-number-of-the-mobile
I have a problem getting the device IMEI in J2me, I have tried all the strings in those posts, and also case sensitive but I always get null
http://qa.java-samples.com/questions/742/how-to-get-the-imei-number-of-the-mobile
use something like:
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");