runtimepermission

  1. Sandman

    Android Question Possible to request RuntimePermissions from within a class, and get the results in same class?

    I'm working on an existing, working project. (Using B4XPages, if that matter.) In that work I'm moving some things into classes. A sub that request RuntimePermissions also made its way into a class, because it made sense. However, the result from the request end up in B4XPage_PermissionResult...
  2. A

    Android Question Android 10 runtime permissions and backward compatibility.

    May I ask you a question myself - if for Android 10 we need to make so many changes for write permissions as we see in many threads on this forum - what about backward compatibility? I still have many customers who are using Android 8 or 9 and I don't want them to upgrade their phones to Android...
  3. 3

    Italian Maven artifact non trovato errore

    Buona sera a tutti, so di non essere l' unico che ha questo problema, ma i suggerimenti nei post che ho letto fino ad adesso, non hanno dato beneficio. Mi sono accorto che appare quando carico la libreria RuntimePermissions(V1.10) ho aggiornato anche l'SDK, ma nulla. Qualcuno ha idea di come...
  4. Shivito1

    Android Question RuntimePermissions not prompting

    My app was fine but recently needed to target SDK 26 and now my app is not working on new devices. Sub Process_Globals 'Get permission to write file Private rp As RuntimePermissions End Sub Sub Activity_Create(FirstTime As Boolean) rp.CheckAndRequest(rp.PERMISSION_WRITE_EXTERNAL_STORAGE)
  5. Sandman

    Android Question [SOLVED] Activity_PermissionResult event is never called

    I have this code in an activity: Sub theButton_Click ' Have we permission to use camera? Private rp As RuntimePermissions Private havePermission As Boolean = True If Not(rp.Check("android.permission.CAMERA")) Then Msgbox("We need this permission because reasons so...
  6. D

    Android Question RuntimePermissions library issue....

    Hi... First off, I've been using B4A for a while but by no means an expert. I love developing with B4A as it's fun. However, with the latest release, I've been having some issues with the RuntimePermissions library. This is what I get when I hit the F5 button to start debugging: a dialog box...
Top