Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get imei android programmatically android 10

val telephonyManager = getSystemService(Context.TELEPHONY_SERVICE) as TelephonyManager
if (VERSION.SDK_INT >= 26) {
   imei = telephonyManager.getImei()
} else {
   imei = telephonyManager.getDeviceId()
}
Source by tedblob.com #
 
PREVIOUS NEXT
Tagged: #imei #android #programmatically #android
ADD COMMENT
Topic
Name
7+4 =