Categories
How can I find out the imei of an android through the code?
Hello. Is it possible somehow, for example, in eclipse to write an application that would read imei, android version, what applications are installed?
Answer the question
In order to leave comments, you need to log in
public String getIMEI(Context context){ TelephonyManager mngr = (TelephonyManager) context.getSystemService(context.TELEPHONY_SERVICE); String imei = mngr.getDeviceId(); return imei; }
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question