how to dynamically get mobile IMEI number in J2me?

五迷三道 提交于 2019-11-27 06:32:53

问题


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



来源:https://stackoverflow.com/questions/10680779/how-to-dynamically-get-mobile-imei-number-in-j2me

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!