Android Question Intercept error

Pesciolina

Active Member
Licensed User
Good morning,
I can't understand where the mistake is, can you tell me how to do it?
Thanks

error_2.png
 

Pesciolina

Active Member
Licensed User
I solved it by inserting the wheel recommended by Erel, Thank you Don

B4X:
For Each permission As String In Array(rp.PERMISSION_READ_EXTERNAL_STORAGE,rp.PERMISSION_WRITE_EXTERNAL_STORAGE, rp.PERMISSION_ACCESS_COARSE_LOCATION,rp.PERMISSION_ACCESS_FINE_LOCATION, rp.PERMISSION_READ_PHONE_STATE,rp.PERMISSION_CAMERA )
            rp.CheckAndRequest(permission)
            Wait For Activity_PermissionResult (permission As String, Result As Boolean)
            If Result = False Then
                ToastMessageShow("No permission!", True)
                Activity.Finish
                Return
            End If
        Next
 
Upvote 0
Top