是Secure.ANDROID_ID唯一的每个设备? [英] Is Secure.ANDROID_ID unique for each device?

查看:1836
本文介绍了是Secure.ANDROID_ID唯一的每个设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用这电话:

Secure.getString(getApplicationContext().getContentResolver(), Secure.ANDROID_ID);

要获得一个UID为设备。我觉得我正在从多个设备相同的ID,虽然。如果这是可能的吗?

To get a UID for the device. I think I am getting the same ID from multiple devices though. Should this be possible?

在讨论的ID是:9774d56d682e549c,显然存在一个问题,一些设备返回这个ID <一个href="http://$c$c.google.com/p/android/issues/list?cursor=10603&updated=10603&ts=1295993403">http://$c$c.google.com/p/android/issues/list?cursor=10603&updated=10603&ts=1295993403

The ID in question is: 9774d56d682e549c and apparently there is an issue with several devices returning this ID http://code.google.com/p/android/issues/list?cursor=10603&updated=10603&ts=1295993403

推荐答案

检查到这的螺纹。然而,你应该小心,因为它的记录为可在恢复出厂设置改变。使用您自己的风险,它可以很容易地改变一个根深蒂固的手机。此外,它看起来好像有些厂商有问题,有重复号码的电话<一href="http://groups.google.com/group/android-developers/browse_thread/thread/53898e508fab44f6/84e54feb28272384">thread.根据你想要做什么,我可能wouldnt以此为UID。

Check into this thread,. However you should be careful as it's documented as "can change upon factory reset". Use at your own risk, and it can be easily changed on a rooted phone. Also it appears as if some manufacturer's have had issues with their phones having duplicate numbers thread. Depending on what your trying to do, I probably wouldnt use this as a UID.

这篇关于是Secure.ANDROID_ID唯一的每个设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆