gpt4 book ai didi

java - J2me中如何动态获取手机IMEI号?

转载 作者:行者123 更新时间:2023-12-01 19:04:27 25 4
gpt4 key购买 nike

我开发了一款 j2me 移动应用程序。现在客户端想要查看手机IMEI号。

所以我不知道如何获取它,我尝试了这一行 System.getProperty("com.nokia.IMEI"); 但它只会返回 null。

最佳答案

诺基亚

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
<小时/>

设备及更新版本。索尼爱立信

System.getProperty("com.sonyericsson.imei");

三星

System.getProperty("com.samsung.imei");

摩托罗拉

System.getProperty("IMEI");
System.getProperty("com.motorola.IMEI");

西门子

System.getProperty("com.siemens.IMEI");

LG

System.getProperty("com.lge.imei");

关于java - J2me中如何动态获取手机IMEI号?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10680779/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com