rp.CheckAndRequest(rp.PERMISSION_READ_PHONE_STATE)
Wait For Activity_PermissionResult (Permission As String, Result As Boolean)
If Result Then
'we have permission!
Dim pi As PhoneId
Log("number: " & pi.GetLine1Number)
End If
See Runtime Permissions tutorial for more information.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.