Runtime permission requests just ask the user to allow or deny a permission. There is no explanation as to why it is needed. I'd like to add an explanation before the request so using rp.check to find out if the permission has already been granted seems like the way to go. However I can't find any information on rp.check, is it something like:
Thanks
B4X:
rp.Check(rp.PERMISSION_ACCESS_FINE_LOCATION)
Wait For Activity_CheckResult (Permission As String, Result As Boolean)
If (Permission = rp.PERMISSION_ACCESS_FINE_LOCATION) And (Result = False) Then
'explain the reason and request permission
.......
end if
Thanks