获取安卓的手机或者平板的唯一标识,底纹
1import android.provider.Settings.Secure;
2
3private String android_id = Secure.getString(getContext().getContentResolver(),
4 Secure.ANDROID_ID);
5
6 UUID deviceUuid = new UUID(androidId.hashCode(), ((long)tmDevice.hashCode() << 32) | tmSerial.hashCode());
7 String deviceId = deviceUuid.toString();http://www.huiyi8.com/jiaoben/