/**
* 获取手机唯一码
*/
public static String getNumber(Context context){
TelephonyManager tm = (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);
String deviceid = tm.getDeviceId();//获取智能设备唯一编号
return deviceid;
}
本文出自 “曾颐楠的播客” 博客,请务必保留此出处http://zengyinan.blog.51cto.com/9524976/1721462