B bdobaj Member Licensed User Dec 9, 2019 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Dec 9, 2019 #2 Please use [code]code here...[/code] tags when posting code. Standard applications can no longer get any serial number. https://www.b4x.com/android/forum/t...me-latest-android-version.111818/#post-697413 Upvote 0
Please use [code]code here...[/code] tags when posting code. Standard applications can no longer get any serial number. https://www.b4x.com/android/forum/t...me-latest-android-version.111818/#post-697413