Skip to main content
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

Is there a unique Android device ID?

Do Android devices have a unique ID, and if so, what is a simple way to access it using Java?

Answer*

Cancel
3
  • 4
    Unfortunately, this won't work if there is no current WiFi connection. From the docs (emphasis added): "Return dynamic information about the current Wi-Fi connection, if any is active."
    Ted Hopp
    –  Ted Hopp
    2016-10-05 00:32:14 +00:00
    Commented Oct 5, 2016 at 0:32
  • 3
    Also by granting root access on device, one can spoof mac address
    user6796473
    –  user6796473
    2017-07-03 16:33:35 +00:00
    Commented Jul 3, 2017 at 16:33
  • 1
    Devices running Android 10 (API level 29) and higher report randomized MAC addresses to all apps that aren't device owner apps.So It wont be unique when you are in android version 10 or higher
    Saddan
    –  Saddan
    2020-05-23 06:02:53 +00:00
    Commented May 23, 2020 at 6:02

Morty Proxy This is a proxified and sanitized view of the page, visit original site.