tm.getDeviceId () está obsoleto?
Estou recebendo oIMEI
e IDs do dispositivo, então aqui estou com um problemagetDeviceId()
está obsoleto.
TelephonyManager tm = (TelephonyManager)
getSystemService(this.TELEPHONY_SERVICE);
imei = tm.getDeviceId();
device = Settings.Secure.getString(this.getContentResolver(),
Settings.Secure.ANDROID_ID);