[android-developers] Re: android.os.Build.MANUFACTURER

2009-10-20 Thread Greivin Lopez
Ok I see IMEI is not valid as a device identifier for Android devices. What do you guys suggest to use instead of the IMEI to identify the device? Is there any best practice in Android environment to do that? I'm asking because I also working on that part of my application right now. Thanks

[android-developers] Re: android.os.Build.MANUFACTURER

2009-10-20 Thread Wayne Wenthin
I'm currently using ANDROID_ID but it looks like I need to switch it up to a custom one because of the Archos 5. I will probably be using a concatenation of a custom 3 letter designating the app, android.os.Build.PRODUCT and the ANDROID_ID. My assumption is that the ANDROID_ID will be unique

[android-developers] Re: android.os.Build.MANUFACTURER

2009-10-20 Thread junker37
This is what I have been using for a unique phone id. Settings.Secure.getString(contentResolver, Settings.Secure.ANDROID_ID); On Oct 20, 10:11 am, Greivin Lopez greivin.lo...@gmail.com wrote: Ok I see IMEI is not valid as a device identifier for Android devices.  What do you guys suggest to

[android-developers] Re: android.os.Build.MANUFACTURER

2009-10-20 Thread Wayne Wenthin
That is what I was using also. But Mark Murphy picked up an Archos 5 and found that it does not return a 16 byte hex number like described in the SDK. This will no longer work for me if I can't expect the ID to be 16 bytes. My previous post explains how I am going to use the ID along with

[android-developers] Re: android.os.Build.MANUFACTURER

2009-10-19 Thread Greivin Lopez
I think you could use IMEI value. IMEI = International Mobile Equipment Identity which is a unique number for every GSM, WCDMA, IDEN phone. The way to retrieve the value is by using something like this: import android.telephony.TelephonyManager; TelephonyManager telephonyManager =

[android-developers] Re: android.os.Build.MANUFACTURER

2009-10-19 Thread Mark Murphy
Greivin Lopez wrote: I think you could use IMEI value. IMEI = International Mobile Equipment Identity which is a unique number for every GSM, WCDMA, IDEN phone. 1. Not all Android devices are phones (e.g., ARCHOS 5 Android tablet). 2. Not all Android phones are GSM. I hope CDMA phones will

[android-developers] Re: android.os.Build.MANUFACTURER

2009-10-19 Thread Wayne Wenthin
Exactly. On Mon, Oct 19, 2009 at 3:04 PM, Mark Murphy mmur...@commonsware.comwrote: Greivin Lopez wrote: I think you could use IMEI value. IMEI = International Mobile Equipment Identity which is a unique number for every GSM, WCDMA, IDEN phone. 1. Not all Android devices are phones

[android-developers] Re: android.os.Build.MANUFACTURER

2009-10-19 Thread Dianne Hackborn
That was added in 1.6. On Mon, Oct 19, 2009 at 9:19 AM, Wayne Wenthin wa...@fuligin.com wrote: Is this no longer available? I find it here: http://developer.android.com/reference/android/os/Build.html#MANUFACTURER but when I try to use eclipse just gives me an error. The reason I am