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