Android Question Android 10 get SIM serial number and IMEI doesn't work

bdobaj

Member
Licensed User
I have a problem on android 10 - my app won't work because pid.GetSimSerialNumber

any idea how to read Sim serial number ?

Dim pid As PhoneId
rp.CheckAndRequest(rp.PERMISSION_READ_PHONE_STATE)
Wait For Activity_PermissionResult (Permission As String, Result As Boolean)

If Result = False Then
Msgbox("No permission...", "")
ExitApplication
End If

sim = pid.GetSimSerialNumber
 
Top