Android Question Problems Requesting permissions at runtime

Cebuvi

Active Member
Licensed User
Longtime User
Hello Erel,

I'm trying to manage permissions in app´s and I started with the example of the
Runtime Permissions (Android 6.0+ Permissions) tutorial.
I do not get it to work and I do not understand where is the problem.
I attached the zip program to see if you can help me find the solution.

Thank you.

Cesar
 

Attachments

  • Permisos.zip
    8.4 KB · Views: 193

Erel

B4X founder
Staff member
Licensed User
Longtime User
Hello Erel,
Please don't limit your questions to a single member. This is a community forum.

Your code is correct. However you need to disable this option in the designer:

SS-2016-06-29_15.10.16.png


Otherwise it tries to enable the property before the permission is granted.
 
Upvote 0
Top