-1

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

Getting Device IMEI

http://qa.java-samples.com/questions/742/how-to-get-the-imei-number-of-the-mobile

Community
  • 1
  • 1
Amira Elsayed Ismail
  • 9,216
  • 30
  • 92
  • 175

1 Answers1

2

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");
Zaz Gmy
  • 4,236
  • 3
  • 19
  • 30