Android 获取手机IMEI

/**
* 获取手机IMEI

* @param context
* @return
*/
public static String getDeviceID(Context context) {
TelephonyManager tm = (TelephonyManager) context
.getSystemService(android.content.Context.TELEPHONY_SERVICE);
return tm.getDeviceId();
}

你可能感兴趣的:(Android 获取手机IMEI)