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

Magma

Expert
Licensed User
Longtime 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 ?
 

DonManfred

Expert
Licensed User
Longtime User
You can´t.

Explain to the user how HE can edit them manually. If the user decided to use NO then he need to do it manually.

System/Settings/Apps/app X/Permissions/ check the permissions needed.
 
Upvote 0
Top