protected String getDeviceId() {
String DeviceId = "";
try {
TelephonyManager tm = (TelephonyManager) this.getSystemService(TELEPHONY_SERVICE);
DeviceId = tm.getDeviceId();
} catch (Exception e) {
e.printStackTrace();
}
return DeviceId;
}
获取手机设备号
最新推荐文章于 2022-08-19 10:51:20 发布