mardi 28 juin 2016

Add permissions in code

Hi all.
i m working on a simple lib, i will use compile to library function to make this lib.

some functions of this lib need permissions, like set Wallpaper
this function need

Code:
  AddPermission(android.permission.SET_WALLPAPER)  
to works.

my question is..
how can i automatic add this permission on the lib? for now i need add manualy on manifest.

how can i check if the user is using this function and automatic add this permission? and if the user dont use the set wallpaper...

Add permissions in code

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/29cJXu5
via IFTTT

Aucun commentaire:

Enregistrer un commentaire