1. abbas abedi

    Android Question How anydesk ScreenRecording Works ?

    hi when i want use screen record , I should use cast when i use cast , i must accept cast permission every start to screen record But on anydesk app is different mechanism about permission anydesk has just Security Warning just one time how can i use anydesk mechanism for screenrecord or...
  2. N

    Android Question Grant any permission without asking the user?

    Hello, My application asks the user for permission (pop up). Is there a way that I can grant/force permission without asking the user for confirmation? Thank you, Nataly
  3. Angel Garcia

    iOS Question How to detect camera permission authorization state?

    Hi all, I'm using the camera library to let the user take a photo from its iPhone, as you know when the user grants the permission first time everything works fine, but if he denies it, it never request permission never again, and when the 'cam.takepicture' event is fired it just show black...
  4. M

    iOS Question Equivalent of CheckAndRequest

    Hi everyone, I built an app that requires the iSpeechRecognition, the phone ask for permission of the Microphone usage, and speech recognition the first time I need to use it. There is a why to prompt the dialog BEFORE I actually need it? (or wait for the user answer?) and more important... if...
  5. M

    Android Question Error in this line: Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION)

    Hello, please apologize my english, i am doing an B4A app and i need to track use gps coordinates. I did it in the past without problem, but now i am getting an error exactly in this line: Starter.rp.CheckAndRequest(Starter.rp.PERMISSION_ACCESS_FINE_LOCATION) I added the standard starter...
  6. Sandman

    Android Question How to request background locations with API 29 and above?

    Yesterday I did a lot of tests to figure out how things worked regarding permissions and background location (full report here). It's clear that background permission is more difficult to get approved since API 29. How do we request permission for background locations in API 29 and above? I...
  7. A

    iOS Question Wait for Network permission

    Hi all. In my app on the first start right after installation I need to pull Privacy statement from the Internet. But first user must accept permission to connect to the network. This permission pop-up and the user must allow it. But at the same time my app work flow continues and sub GetPrivacy...
  8. 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)...
  9. Arnaud

    Android Question Runtime Permissions Android 10 / File.DirRootExternal

    Hello, With Android 10, it is not possible to read the folder "File.DirRootExternal " because not permission. ( - 29 - No permission to access File.DirRootExternal, even with the STORAGE permission). Is there an other way to access folder "Download " or "Bluetooth" in Android storage...
  10. U

    Android Question Generating R file Error

    Hi! I installed B4A on my laptop today and I'm trying to Release a previous project of mine. I've downloaded JDK and SDK and installed them from here. now when I'm trying to compile my app this error is showing: Generating R file. Error AndroidManifest.xml: error: Unable to open file for...
  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?
  12. A

    Android Question New Developer Policy

    Google Play Market has updated Developer Policy today 04/16/2020 New Developer Policy Does it mean that we can't publish anymore any app with ACCESS_FINE_LOCATION permission?
  13. Shivito1

    Android Question Android will not let me upload my app

    requires new api however if i use new api my permissions are all messed up. is there away to ask for overlay permission via if java??? I don't want to update my version of b4a just to change a permission... Please help thanks. ** Service (notify_builder) Start ** PanelMain PanelMain PanelMain...
  14. GabrielQ

    Spanish Camara no se habilita luego de los permisos

    Buen dia ! tengo el siguiente codigo y no logro que, luego de instalada por primera vez la aplicacion e ingresar que le otorgo el permiso de usar la camara, quede esta habilitada, solo veo el panel. Si salgo y vuelvo a entrar, ahi la camara trabaja perfectamente. Estuve leyendo el orden de...
  15. figorra

    Spanish [SOLUCIONADO] Error o en ficheros temporales o en daemon......

    Según esta pantalla, en un proyecto completamente vacío, sale este error. El tema de permisos no puedo cambiarlos, pero sí cambiar de sitio los archivos temp de B4X, pero no se donde..... Y lo del daemon, no se sí tiene que ver con el anterior o es otro problema diferente.
  16. M

    Android Question How to know if a "Don't ask again" permission has been checked?

    Hello, I usually place a Msgbox() before RuntimePermissions.CheckAndRequest() so to let the user have more details about such permission. If the user check the box "Don't ask again", RuntimePermissions.CheckAndRequest() will stop opening the permission dialog, in that case I would like to avoid...
  17. Mikel Huerta

    Android Question (SOLVE)error open PDF file with android 7+

    Hello , i try to open a PDF file from my app on an android 7 with the new permissions functions but when i try to do it, i get this error and a blank screen for a while and nothing more : i am using b4a 8.50 My code : Sub Doit() Dim Mostrador_de_PDF As Intent Dim uri As...
  18. K

    Android Question Permission READ_PHONE_STATE

    I'm getting error of READ_PHONE_STATE permission. Error : java.lang.SecurityException: getDeviceId: Neither user 10200 nor current process has android.permission.READ_PHONE_STATE. code: Dim rp As RuntimePermissions rp.CheckAndRequest(rp.PERMISSION_READ_PHONE_STATE) Dim pid As...
  19. T

    Android Question Android Things USE_PERIPHERAL_IO permission problem

    I have installed Android Things 1.0.1 to Raspberry Pi 3. I am using B4A 8.3, Core (Version 8.3), Things (Version 1.10). Java: jdk1.8.0_172. Android jar path: C:\Android\platforms\android-24\android.jar I have the following code: #Region Project Attributes #ApplicationLabel: B4A Example...
  20. Sandman

    Android Tutorial How to determine needed permissions from JavaObject code

    Now and then there are JavaObject code snippets posted in the forum. Usually there are permissions required listed together with the code, but not always. Which could be because none are needed. (This very small tutorial sprung out of this thread.) This is how one determines what permissions...