To identify each devices uniquely I would like to use the IMEI (or ESN number for CDMA devices). How to access this programmatically?
for API Level 11 or above:
case TelephonyManager.PHONE_TYPE_SIP: return "SIP"; TelephonyManager tm= (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); textDeviceID.setText(getDeviceID(tm));