获取手机imsi,imei

TelephonyManager tm = (TelephonyManager) this.getSystemService(TELEPHONY_SERVICE);
imei = tm.getDeviceId();
imsi = tm.getSubscriberId();// String

你可能感兴趣的:(获取手机imsi,imei)