/**
* 获取设备AndroidID
*
* @return AndroidID
*/
public static StringgetAndroidID() {
return Settings.Secure.getString(MyApplication.getInstance().getContentResolver(), Settings.Secure.ANDROID_ID);
}
/**
* 获取设备AndroidID
*
* @return AndroidID
*/
public static StringgetAndroidID() {
return Settings.Secure.getString(MyApplication.getInstance().getContentResolver(), Settings.Secure.ANDROID_ID);
}
本文标题:Android如何获取设备ID
本文链接:https://www.haomeiwen.com/subject/fryddktx.html
网友评论