Different results for my inexpensive Chinese tablet. This is not a phone, so why getDeviceId () returns a number that seems like a valid IMEI?
C:\>adb shell dumpsys iphonesubinfo
Phone Subscriber Info:
Phone Type = GSM
Device ID = null
but using
TelephonyManager tManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
String uid = tManager.getDeviceId();
uid = 35881700 ... (I do not show the entire IMEI number for privacy)
source
share