什么办法可以改变安卓手机机器码?
正常情况下,想得到设备的唯一序号, TelephonyManager.getDeviceId() 就足够了。r 但会暴露DeviceID,最好把这些id加密。加密后的序号仍然可以唯一的识别该设备,例如,使用 String.hashCode() ,结合UUID:r final TelephonyManager tm = (TelephonyManager) getBaseContext().getSystemService(Context.TELEPHONY_SERVICE);r r final String tmDevice, tmSerial, tmPhone, androidId;r r tmDevice = "" + tm.getDeviceId();r r tmSerial = "" + tm.getSimSerialNumber();r r androidId = "" + android.provider.Settings.Secure.getString(getContentResolver(), android.provider.Settings.Secure.ANDROID_ID);r r UUID deviceUuid = new UUID(androidId.hashCode(), ((long)tmDevice.hashCode()