日期:2014-05-20  浏览次数:20592 次

在J2ME中获得手机IMEI的方法
在J2ME中获得手机IMEI的方法


IMEI是Internation mobile entity identification的简称,在手机中输入*#06#可以显示该数字,长度为15位,全球唯一,永远不会冲突,所以可以作为识别用户的一个标志。

下面是在J2ME中获得IMEI的方法:

西门子: System.getProperty("com.siemens.IMEI");
三星: System.getProperty("com.samsung.imei");
索爱: System.getProperty("com.sonyericsson.imei");
摩托罗拉: System.getProperty("IMEI");
              System.getProperty("com.motorola.IMEI");
诺基亚: System.getProperty("com.nokia.mid.imei");