Y yhyzhj Member Dec 24, 2021 #1 I use this code to get android ID. B4X: Copy Dim p as phone Dim id as string id=p.GetSettings("android_id") but the id is difference from by ADB(adb shell settings get secure android_id) on android 6.0 - 7.0, the IDs are the same. on android 8.1 - 9.0, the IDs are difference. i wnat to know why?
I use this code to get android ID. B4X: Copy Dim p as phone Dim id as string id=p.GetSettings("android_id") but the id is difference from by ADB(adb shell settings get secure android_id) on android 6.0 - 7.0, the IDs are the same. on android 8.1 - 9.0, the IDs are difference. i wnat to know why?
M MikeSW17 Active Member Licensed User Longtime User Dec 24, 2021 #2 unique IDs and android_id have been discussed at length before e.g. https://www.b4x.com/android/forum/threads/get-unique-id-for-user.124396/#content The forum search reveals much more. In persuit of 'privacy' Android keeps changing the rules. Upvote 0
unique IDs and android_id have been discussed at length before e.g. https://www.b4x.com/android/forum/threads/get-unique-id-for-user.124396/#content The forum search reveals much more. In persuit of 'privacy' Android keeps changing the rules.