Sunday, February 13, 2011

Re: [android-developers] Unique device id - which one to choose

Mac will be best option for unique representation of devices

On Fri, Feb 11, 2011 at 10:24 PM, Oceanblue <ns1371@gmail.com> wrote:
Like a lot of other applications, my application has different levels
of features access. Depending on the unique device ID, it switches on
certain features (paid/licensing issues). This feature switching on-
off is already done in existing native C/C++ code for all kind of
mobile devices/PCs etc, so I wouldn't be using Androids new in-app
billing (even if it provides this functionality)

I need a unique (6 byte, hex string) device id. I have looked at the
following options:

1. ANDOID_ID

Looks good, but there seem to be some issues with this.
       1. This can show up null, unless the device has atleast once logged
onto Android market, as per this thread:
http://groups.google.com/group/android-developers/browse_thread/thread/cbc9d4cad48a7fb7/9d4caaac1fc78f96?lnk=gst&q=android_id#9d4caaac1fc78f96
       I've read in other places too, that it might be null - due to this or
other causes.

       2. Certain devices have a bug where many devices show up the same
(supposedly) unique id, as per this thread:
http://groups.google.com/group/android-developers/browse_thread/thread/53898e508fab44f6/3aca6310acc63915?q=android_id&lnk=ol&


2. MAC address

Not sure if this is available under the following conditions:
       1. Device is not wi-fi enabled
       2. Wi-fi is switched off


3. IMEI/ MEID

Application will be potentially running on non-telephone devices like
tablets too, so this is not an option.

I'm really stumped at this point. Any guidance would be much
appreciated.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Regards,
Narendra
.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment