¿how to modify the permissions of an application? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

¿how to modify the permissions of an application?

Hello guys I have an app this app needs to take a photo but I need the application to open the gallery to send the photo from there Is it possible to create an additional permission?

4th Jul 2021, 1:31 PM
Obelisk
3 Answers
+ 2
I've made a similar script, got around Permission denied by copying the photos selected to the home directory (i did it in termux, but "/storage/emulated/0/" should work just fine) and then preforming whatever with the copied photo(s) in the home dir John Fredy Cardenas Amaya No problem! Here's the script, it's in bash btw https://code.sololearn.com/c47n1uB11gaP/?ref=app
4th Jul 2021, 1:34 PM
Slick
Slick - avatar
+ 1
Thank you it works I had no idea it could work this way
4th Jul 2021, 1:54 PM
Obelisk
0
Great idea thank you!
4th Jul 2021, 1:39 PM
Obelisk