得到安卓设备的UUID

来源:互联网 发布:手机淘宝怎么推广 编辑:程序博客网 时间:2024/06/10 03:47

得到安卓设备的UUID

Settings.Secure#ANDROID_ID returns the Android ID as an unique for each user 64-bit hex string.

import android.provider.Settings.Secure;

private String android_id = Secure.getString(getContext().getContentResolver(),
Secure.ANDROID_ID);

0 0
原创粉丝点击