Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get imei programmatically android

//first add this to mainfirst
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>

//and this in java
TelephonyManager telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
telephonyManager.getImei();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #imei #programmatically #android
ADD COMMENT
Topic
Name
1+7 =