Android Question How an app can Ask permissions again ? [SOLVED]

Magma

Well-Known Member
Licensed User
Well...

after needing system permissions for our apps our lives getting ...better.. or not.. :-(

well somewhere Erel makes a super easy routine to use:
https://www.b4x.com/android/forum/threads/handle-multiple-permission-request.94611/
B4X:
Sub Activity_Resume
   For Each permission As String In Array(rp.PERMISSION_READ_CONTACTS, rp.PERMISSION_READ_CALL_LOG, rp.PERMISSION_CALL_PHONE)
       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
   'we have permission!
End Sub
...but if someone say no.. so the app will never ask again for permissions... how can we "make" the app ask again for permissions ?
 
Top