Is there a way for a user to request camera access after they have already denied it on Android?
Of course, if you disable the use of Camera, you can always enable it in Settings.
But is it possible to correct the CamEx2 algorithm without manually adjusting the settings?
I'm trying to download a file from a server, and I want to save it in the "Download" folder of the phone (not on an external SD or USB)
what is the right way to do it?
(I already know how to download... i need to specify only the path)
I tried with...
I have made an B4j programm that reads and writes into a local sqlite database. The database is located in the path c:/sql in a windows 10 installation.
The program works perfectly when compiled and executed in the IDE. However, it fails to insert data into the sql database (without exception)...
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...
I'm using the following code to get the READ_PHONE_STATE permission from the user, but the Request Permission screen is never called. Do I need to add anything to the manifest editor?
If Starter.rp.Check(Starter.rp.PERMISSION_READ_PHONE_STATE) = False Then
I used some of the code from a tutorial for background location checking in my app and the logs statements get stuck in a loop. This is the tutorial and this is the code based on the tutorial I used in my app.
Hello! How i can use webview as standart browser with all perrmissions?
Need use html5 (camera, geoposition) and file uploading.
It's a possible (SDK 28)?
Any examples with all of this permissions (camera, geo, uploading in one :) ))?
Excuese for my English.
For request permission, i use this code on Main.Activity_Request sub
Dim rp As RuntimePermissions
wait for Activity_PermissionResult (Permission As String, Result As Boolean)
If Result Then
Log("SI permesso ->...
Might be interesting for those of us that make Android apps and obsess about our required permissions.
Android trackers and permissions: Did I say you could do that?
Double-click on a dangerous permission (in the Permissions window) will automatically add the code needed to the manifest file and the b4a code needed to the current activity (Main) (Private rp As RuntimePermissions and other)
I am trying to update an app that was based on the old Bluetooth example so may not take advantage of all the latest developments in program structure. I do not write programs for B4A very often as I mostly have to use Embedded C or design electronics. My apps are used to support our embedded...
Does anybody know a way to handle the app closed, so if the system or the user closes the app, it won't close but the current 'position' of the user will be saved? (maybe with some special permission?)
Thanks in advance.
I'm using the ContactUtils class here:
It allows to read contact info from a phone. I added these permissions to the manifest as per the tutorial for the class...
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...
Savez-vous comment je pourrais récupérer la BDD des musiques que l'on a enregistrés de shazam ? Il nous est impossible de voir le fichier car il faut rooté son tel ... chose que je ne peux pas faire sur le mien pour l'instant.
Comment accéder à ce fichier avec les bonnes permissions...