permissions

  1. M

    Android Question USBManager keeps asking for permission

    Hi everyone, I'm using a tablet pc panel with Android. This panel pc has a USB port that I use to communicate using a USB to TTL converter (YP-01).. the chinese ones you find on Amazon/Aliexpress (Link)... The problem is that using the USB library if the usb is removed and re-inserted it keeps...
  2. Dave O

    Android Code Snippet Getting the user's email address on a device

    I just spent two days trying to puzzle out how to get some user details (first name and email) from the device, so that I don't have to ask them to enter it (and possibly enter the wrong account's email or mistype it). There are several old forum posts about this, but they're tedious to wade...
  3. A

    Android Question Is it possible to fix CamEx2?

    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?
  4. M

    Android Question Access the internal Download folder

    Hi everyone, 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...
  5. gezueb

    B4J Question B4j Sqlite missing write permission?

    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)...
  6. rleiman

    Android Question [SOLVED] - Trapping the result of a permission request

    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...
  7. rleiman

    Android Question [SOLVED] - Starter.rp.CheckAndRequest is not calling the Request Permission dialog screen

    Greetings, 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 Sleep(100)...
  8. rleiman

    Android Question [SOLVED] - Checking for permissions in B4A results in a continuous loop

    Greetings, 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. Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_READ_PHONE_STATE) Wait...
  9. letsmoscow

    Android Question Webview with full permissions.

    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.
  10. amorosik

    Android Question Request Runtime Permission - SYSTEM_ALERT_WINDOW - where is ?

    For request permission, i use this code on Main.Activity_Request sub Dim rp As RuntimePermissions rp.CheckAndRequest(rp.PERMISSION_ACCESS_FINE_LOCATION ) wait for Activity_PermissionResult (Permission As String, Result As Boolean) If Result Then Log("SI permesso ->...
  11. Sandman

    Article about Android trackers and permissions

    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? https://getsession.org/android-trackers-and-permissions/
  12. LucaMs

    Wish Dangerous permissions

    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) :)
  13. S

    Android Question Multiple Runtime Permissions / Wait For.. Complete not working? RESOLVED

    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...
  14. A

    Android Question Avoid app from being closed

    Hello, 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.
  15. peacemaker

    Android Question Heart rate sensor permission (samsung S9)

    HI, All Samsung S9 device (Android 8) is with the blood pressure sensor. But what is the permission to use this sensor ? Any sample of reading the sensor info ?
  16. A

    Android Question Permissions in manifest not triggering question at install

    Hi All I'm using the ContactUtils class here: https://www.b4x.com/android/forum/threads/class-contactsutils-provides-read-write-access-to-the-stored-contacts.30824/ It allows to read contact info from a phone. I added these permissions to the manifest as per the tutorial for the class...
  17. Dave O

    Android Question [solved] AudioStreamer and "not initialized" exceptions

    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...
  18. S

    French Accéder aux fichiers cachés

    Bonjour, 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...
Top