I needed to send an identifier to our server to identify
users as they use my application.  I first used the phone
number, but found that tablets without service had none.  So failing
getting a phone number, I did this:

android_id = Secure.getString(this.getContentResolver(), Secure.ANDROID_ID);

But it seems now, that a handful of users, notably those using T-mobile,
have phones that will not yield the above ID.

So I was wondering whether there was some other unique identifier
I could use, or failing that, would like to here suggestions on
generating an identifier that would (almost?) never be a duplicate.

I was thinking of using the time to the millisecond that the app was first
run, plus some random digits.  Still, I thought that there might be a more 
standard
practice or library for this.

Thanks!

Tobiah

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to