读书人

在J2ME中取得手机IMEI的方法

发布时间: 2012-09-28 00:03:35 作者: rapoo

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

读书人网 >J2ME开发

热点推荐