Settings.Secure#ANDROID_ID
is supposed to be used as a unique device identifier, with the advantage that if the device is wiped it is reset; this means if a user sells their device, anything device specific pertaining to that user is not associated with it, which is clearly advantageous.
However, my phone has the Kindle app and when I upgraded from Eclair to Froyo, and again to Gingerbread, the Amazon site registered each new build as a separate device. This suggests that upgrading a device (as opposed to wiping it) changes the ID.
- Does it?
- What is the most reliable means of an installed application recalling the previous device ID across a system upgrade? (If an application knows its old device ID, it can link the new one to the old one on a remote system, for example.)