简体   繁体   中英

how to dynamically get mobile IMEI number in J2me?

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.

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

您可以将上面的调用与System.getProperty(“microedition.platform”) ,以获得对您的问题的好的解决方案。

您可以尝试从J2ME获取IMEI,以从其他手机获取Imei

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM