ID depend on the internet access?

ANDROID_ID is often suggested as a unique identifier for Android devices. It's described as a "A 64-bit number (as a hex string) that is randomly generated when the user first sets up the device and should remain constant for the lifetime of the user's device. The value may change if a factory reset is performed on the device." (see: http://developer.android.com/reference/android/provider/Settings.Secure.html )

But I've seen some accounts on the web that the generation of the ANDROID_ID may be somehow related to or dependent on access to Google account information. For example here https://groups.google.com/forum/#!topic/android-developers/Rn15F7Ku4GM and here: https://groups.google.com/forum/#!msg/android-developers/y8nUytSKf7c/9kKLPjDrrEIJ.

The Android devices we ship with our products are unboxed and get their software installed in a secure environment without internet access - wifi yes, but no internet- and many of our customers are also high-security sites which also block outside access. Our Android devices are not associated with any sort of Google account. Does ANDROID_ID have any dependencies on internet access, Google accounts or Google Play?


The AOSP source code states in a comment:

A 64-bit number (as a hex string) that is randomly generated on the device's first boot and should remain constant for the lifetime of the device. (The value may change if a factory reset is performed on the device.)

This explicitly refers to first boot, not to first internet interaction etc. (The text you plucked from the docs is less clear, stating "when the user first sets up the device").

链接地址: http://www.djcxy.com/p/24626.html

上一篇: libhoudini适用于Chrome OS上的ARC

下一篇: ID取决于互联网接入?