获取手机唯一码

    /**
     * 获取手机唯一码
     */
    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

原文地址:https://www.cnblogs.com/zengyinanos/p/5042742.html