IS THERE A UNIQUE ANDROID DEVICE ID?

ben reitman

Total Post:96

Points:676
Posted by  ben reitman
 861  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. Mayank Tripathi

    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); 

  1. wushiwu08 wushiwu08

    Post:3

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

    Post is removed by the Admin.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!