你的位置:首页 > 操作系统

[操作系统]手机IMEI获取


1     TelephonyManager telephonyManager= (TelephonyManager) getSystemService(TELEPHONY_SERVICE);2 //    Returns the unique device ID, for example, the IMEI for GSM and the MEID3 //    or ESN for CDMA phones. Return null if device ID is not available.4     String deviceId=telephonyManager.getDeviceId();