views:

195

answers:

2

Does Android have a UDID like IPhone? If yes, is there a way I can get it programatically?

Thanks Chris

+1  A: 

From the docs:

getDeviceId()

Returns the unique device ID, for example, the IMEI for GSM and the MEID for CDMA phones. Return null if device ID is not available.

Macarse
A: 

The Device ID used to only be available if you had signed up for Market by associating your phone with your Google account when you start, i.e. not available on the emulator. This seems to have changed with Android 2.2, where one is generated for the emulator as well. I don't believe it is associated with IMEI, ICC or any other phone-related token, but is rather a pseudo-unique token generated by Google web services to identify your phone.

Fazal Majid