Blueforcer Well-Known Member Licensed User Longtime User Sep 1, 2021 #1 is it possible to wait for the permission result, like for the "Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean)". I dont see any event for this library B4X: manager.RequestPermission(device)
is it possible to wait for the permission result, like for the "Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean)". I dont see any event for this library B4X: manager.RequestPermission(device)
Erel B4X founder Staff member Licensed User Longtime User Sep 2, 2021 #2 There is no such event. Best option is to add the XML filter: https://www.b4x.com/android/forum/threads/usb-device-trouble.127877/post-801794 If Activity_Resume is called after the permission dialog is closed then you can do this: B4X: manager.RequestPermission(device) Wait For Activity_Resume 'check for permission here Upvote 0
There is no such event. Best option is to add the XML filter: https://www.b4x.com/android/forum/threads/usb-device-trouble.127877/post-801794 If Activity_Resume is called after the permission dialog is closed then you can do this: B4X: manager.RequestPermission(device) Wait For Activity_Resume 'check for permission here