Android设备是否具有唯一的ID,如果是,则使用Java访问它的简单方法是什么?
Settings.Secure#ANDROID_ID returns the Android ID as an unique for each user 64-bit hex string. (Settings.Secure#ANDROID_ID 以每个用户 64位十六进制字符串的唯一身份返回Android ID。)
Settings.Secure#ANDROID_ID
import android.provider.Settings.Secure; private String android_id = Secure.getString(getContext().getContentResolver(), Secure.ANDROID_ID);
2.1m questions
2.1m answers
60 comments
57.0k users