i am developing an app in that i just need IMIE number of device…
I tried:
telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
imie = telephonyManager.getDeviceId();
In Menifiest:
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
Let me tell, if that require any other things to do??
thanks in advance.
I think you’re doing it right, but according to the Android Developers Blog:
Also, it probably won’t work on an emulator.