比思論壇
標題:
获取sim卡的串号
[打印本頁]
作者:
我是谁我爱谁啊
時間:
2016-4-16 12:13
標題:
获取sim卡的串号
private void setSimInfo() {
TelephonyManager manager = (TelephonyManager) getSystemService(TELEPHONY_SERVICE);
String simserial = manager.getSimSerialNumber();
Editor editor = sp.edit();
editor.putString("sim", simserial);
editor.commit();
}
歡迎光臨 比思論壇 (http://108.170.5.77/)
Powered by Discuz! X2.5