---
title: "Does there exist any unique Android device ID?"  
description: "Does there exist any unique Android device ID?"  
author: "Samuel Fernandes"  
published: 2015-04-23  
updated: 2015-04-23  
canonical: https://www.mindstick.com/forum/23122/does-there-exist-any-unique-android-device-id  
category: "android"  
tags: ["android"]  
reading_time: 1 minute  

---

# Does there exist any unique Android device ID?

Do [Android](https://www.mindstick.com/articles/13046/10-reasons-why-i-prefer-android-vs-iphone-ios) [devices](https://www.mindstick.com/blog/301912/how-smart-devices-are-changing-our-lives) have a [unique id](https://www.mindstick.com/forum/33873/how-to-get-unique-id-of-alasset-for-identification-in-ios), and if so, what is a [simple](https://yourviews.mindstick.com/story/1469/5-simple-ways-to-stay-fit-amp-healthy) way to [access](https://www.mindstick.com/articles/12994/how-foreigners-can-access-blocked-websites-in-china) it via [Java](https://www.mindstick.com/articles/12214/web-development-company-in-india-laid-on-the-foundation-of-concrete-java-programming)?

## Replies

### Reply by Anonymous User

**Settings.Secure#ANDROID_ID** returns the Android ID as an [unique](https://www.mindstick.com/blog/12870/how-to-be-unique-in-business) 64-bit hex string.\

```
import android.provider.Settings.Secure;private String android_id = Secure.getString(getContext().getContentResolver(),                                                        Secure.ANDROID_ID); 
```


---

Original Source: https://www.mindstick.com/forum/23122/does-there-exist-any-unique-android-device-id

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
