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
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 function, how can i remove this automatic?
thx