Answer the question
In order to leave comments, you need to log in
How to get a unique Android device ID?
Tell me how to get a unique identifier for an android device? I rummaged through a bunch of articles on the internet and everything is not 100% reliable
1. Build serial on some left devices always returns "0123456789ABCDEF"
Build.class.getField("SERIAL").get(null).toString()
Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ANDROID_ID)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question