S
S
Space2014-07-26 05:06:18
Android
Space, 2014-07-26 05:06:18

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

1 answer(s)
D
Dmitry, 2014-07-26
@ExileeD

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 your question

Ask a Question

731 491 924 answers to any question