Is there a unique Android device ID?

Total Post:96

Points:676
 1240  View(s)
Ratings:
Rate this:
Do Android devices have a unique id, and if so, what is a simple way to access it via Java?
  1. Post:397

    Points:3117
    Re: Is there a unique Android device ID?

    Settings.Secure#ANDROID_ID returns the Android ID as an unique 64-bit hex string.

    import android.provider.Settings.Secure;
    private String android_id = Secure.getString(getContext().getContentResolver(),
                                                            Secure.ANDROID_ID); 

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.