-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2019-10-08:如何获取Android设备唯一ID? #159
Comments
缺点: 2.手机WiFi或蓝牙的MAC地址 3.Serial Number 缺点: A hardware serial number, if available. Alphanumeric only, case-insensitive. For apps targeting SDK higher than Build.VERSION_CODES.O_MR1 this field is set to UNKNOWN. 4.android Id 缺点: 经上几种比较android id方式较为可靠 private static String deviceId = null; public static String getDeviceId() { |
Android ID |
看需求了,如果用来做单点登录,那用应用首次安装时间足够了。 |
双卡手机imei有两个怎么办?获取的是哪个 |
高版本用这个方法多个IMEI: 低版本用反射获取: private void getAPI19SimInfo(Context context) {
参考:https://blog.csdn.net/niyingxunzong/article/details/77188040 |
常用方法: Mac地址 ANDROID_ID Serial Number (设备序列号) 实现思路: |
IMEI ANDROIDID UUID |
1 similar comment
IMEI ANDROIDID UUID |
No description provided.
The text was updated successfully, but these errors were encountered: