Hhmmm,

Perhaps I need to rethink my trial registration under Android then, if I cannot obtain a unqiue ID. Not sure what else to use though that can't/won't be abused. Basically, I want to be able to register who has the trial (by some unique id) and then expire the trial when the period is over. On the Pre I used the device ID.

Is there a way to obtain the phone's primary email address?
------------------------------------------------------------------------

David Williams
Check out our WebOS mobile phone app for the Palm Pre and Pixi:
<http://www.dtw-consulting.com/GolfCaddie> Golf Caddie <http://www.dtw-consulting.com/GolfCaddie> | Golf Caddie Forum <http://www.dtw-consulting.com/GolfCaddie/forum> | Golf Caddie FAQ <http://www.dtw-consulting.com/GolfCaddie/faq.html> by DTW-Consulting, Inc.



On 3/14/2011 2:07 PM, Marcin Orlowski wrote:

On 14 March 2011 18:58, David Williams <[email protected] <mailto:[email protected]>> wrote:

    Really? That's a bummer.  Is there any other ID that is unique, or
    combination of ID's then?


Telephony based Id is a good start, but these require phone to exist and extra permission. Others try to use MAC of WiFi but some devices are reported to not expose such if wifi is off. Serial number of SD card looks tempting, but it seems no API exposes it. In general grab as many info as you can to reduce chance all you get in hand is bunch of "null"s, then, if you do not need the raw values, just hash it (md5/sha1) to get something you may consider unique Id of device.

Regards,
Marcin Orlowski

Tray Agenda for Android <http://bit.ly/trayagenda>


--
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 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

<<inline: GClogo.png>>

Reply via email to