Greetings,
I created a permission test app to see how it works and this simple app does ask the user for the READ_PHONE_STATE permission so I know the manifest editor is set up correctly but the flow of coding ignores the statements following the CheckAndRequest statement.
#Region Shared Files...
Everything is working for two year until a update to B4A 10.2.
Now when I call CheckAndRequest function form runtimePermissions library,
I get this error: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/content/ContextCompat;
I don't know how to fix that... any idea?
I want The MqttChat Example in [B4XPages] with runtime permissions
Mqtt Example
https://www.b4x.com/android/forum/threads/mqtt-chat-with-auto-discovery.75713/
4 or more Modules: [Main] - [B4XMainPage maybe a start button to Layout1] - [PageLayout1] - [PageLayout2] -...
Hi. I am trying to check if the application has permission to access the location all the time. But with runtimepermissions I did not find a way to check if the permission for location in background is allowed or not (that is, if the user selected to allow only with the app in use or to allow...
Hello,
I tried to use runtime permission for PERMISSION_READ_CONTACTS:
Sub Activity_Create(FirstTime As Boolean)
rp.CheckAndRequest(rp.PERMISSION_READ_CONTACTS)
wait for Activity_PermissionResult (Permission As String, Result As Boolean)
<do something>
End Sub
But (on release...
If you're trying to record audio using AudioStreamer (via the internal Audio library), and you're getting exceptions when you try to start recording ("uninitialized AudioRecord object"), it may be because of permissions - specifically runtime permissions.
I downloaded Erel's AudioStreamer...
Hello,
does anybody know,
for the permission:
android.permission.INTERNET
and android.permission.WAKE_LOCK,
Is it needed to use RuntimePermissions?
(btw, what down it meen android.permission.WAKE_LOCK ?)
Thanks in advance
Hi guys,
I'm facing a weird problem while trying to understand Android's Runtimepermission.
I've followed the Erel's tutorial here:
https://www.b4x.com/android/forum/threads/runtime-permissions-android-6-0-permissions.67689/
It seems that does not matter what is the setting give to a resource...
hi
i have problems with Runtimepermission on B4A8+.
when i check for the permission and also request it and the result was false the request is not done.
the weird thing is that in DEBUG mode everything works fine but if i run it in release mode the check/request of the permission does only a...
Hello guys,
I'm trying Erel's test app (1.zip file from this thread, page 2) and having Permission Denied when choosing a photo from photo Gallery.
I started searching for a solution and one of then pointed to add the following line to the project manifest...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.