administrators Reply Quote

Answer : Explanation : TelephonyManager class can be used to get the IMEI number. It provides access to information about the telephony services on the device.Code        TelephonyManager mTelephonyMgr = (TelephonyManager)        getSystemService(Context.TELEPHONY_SERVICE);        String imei = mTelephonyMgr.getDeviceId();

Click here to see the full blog post