If the user checks Never ask again however, the second dialog with the explanation shouldn't be shown, especially if the user already declined once before. Now the question is: how does my app know whether the user has checked the Never ask again? the Activity_PermissionResult doesn't give me...
I have a question. My app needs to use a microphone to record a voice message to play it later. On the first start after installation it asks for a permission to use a microphone and if the use allows it it works fine.
But what if the user on the first start allowed it and later for...
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
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...
I tried to use runtime permission for PERMISSION_READ_CONTACTS:
Sub Activity_Create(FirstTime As Boolean)
wait for Activity_PermissionResult (Permission As String, Result As Boolean)
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...
does anybody know,
for the permission:
Is it needed to use RuntimePermissions?
(btw, what down it meen android.permission.WAKE_LOCK ?)
Thanks in advance
I'm facing a weird problem while trying to understand Android's Runtimepermission.
I've followed the Erel's tutorial here:
It seems that does not matter what is the setting give to a resource...
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...
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...