Hello. There is a program where I need to get the IMEI code of the device. I checked on many devices, but today I discovered that it can not be obtained on devices without 3G (and accordingly without a dialer). Got it that way.
TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); String l1 = tm.getDeviceId(); On such devices gives nothing. Has anyone encountered this problem and how can I get around it?
PS To be honest, I did not even find it in the device settings.