Android Question Android Device Unique ID - Revisited

johndb

Active Member
Licensed User
Longtime User
In this older tutorial and posts https://www.b4x.com/android/forum/threads/android-device-unique-id-alternative-to-phoneid.14759/ it was mentioned that the Android Device unique ID returned by
B4X:
r.GetStaticField("android.os.Build", "SERIAL")
did not necessarily return a unique ID as it was dependent upon the device.
If we are targeting SDK 19 as the minimum OS version can we assume that all modern devices will return a unique ID or have you found with your experience that a unique ID is still problematic with some devices?

Thanks for your help.

John
 
Top