米娅的android之旅
android开发群群号:84926730

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

posted on 2012-05-03 11:22  程序缘儿  阅读(200)  评论(0编辑  收藏  举报