Home android IMEI code on tablets without 3G

IMEI code on tablets without 3G

Author

Date

Category

Hello. There is a program where I need to get IMEI device code. I checked on many devices, but today I found that it cannot be obtained on devices without 3G (and respectively without DIALER). Received it in this way.

TelephonyManager TM = (TelephonyManager) GetSystemService (Context.telephony_Service);
STRING L1 = TM.GETDEVICEID ();

on such devices does not give anything. Did anyone come across such a problem and how can I get around it?

p.s. Honestly, I did not even find it in the device settings.


Answer 1, Authority 100%

Did anyone come across such a problem

Yes, for the one day it was unexpected.

p.s. Honestly, I did not even find it in the device settings.

All true, devices have no slot under the SIM card, do not have radio modulus , therefore do not have imei .

How can I get around it?

Use in this case instead of IMEI , any other pseudo -echnical identifier. For example:

string id = secure.getstring (getContentResolver (), secure.android_id);

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions