TelephonyManager tm = (TelephonyManager) this.getSystemService(Context.TELEPHONY_SERVICE);
String imei = tm.getDeviceId(); //取出IMEI
String tel = tm.getLine1Number(); //取出MSISDN,很可能为空
String imei =tm.getSimSerialNumber(); //取出ICCID
String imsi =tm.getSubscriberId(); //取出IMSI
获取手机的IMEI,MSISDN,ICCID,IMSI
最新推荐文章于 2024-05-14 02:32:03 发布
本文介绍如何使用Android系统API TelephonyManager来获取手机的IMEI、MSISDN、ICCID及IMSI等关键信息。
512

被折叠的 条评论
为什么被折叠?



