+ 7

I made on Android phone code and run in my PC then how to give permissions to access my files and media's

https://code.sololearn.com/W7GlSCOcvfK4/?ref=app this is copied code but not for rise followers count or like just for learning purpose

6th Oct 2020, 8:46 AM
Jothish
Jothish - avatar
3 Answers
+ 7
Mr charitha Agarwal I don't mean any webpage I mean run the code and made into app then how to give ACCESS . above the link is just for example . But thanks for respond to my questions
6th Oct 2020, 11:02 AM
Jothish
Jothish - avatar
+ 6
I dont think that there is any way to access local storage files on a webpage in any way. Even if its possible, then it can access files on only your computer, and if audience wants to access on their own PC, it wont allow. As far as I know, its near to impossible. There might be some methods available, but its not direct, and requires lots of research.
6th Oct 2020, 10:18 AM
Charitra
Charitra - avatar
+ 2
Although your question is not very clear to me. Yet, I'm trying to answer as per my understanding. If you are trying to run an emulator and want to give it access to read desktop files then it can't. In general, you need to give "read internal storage" permission in the manifest file and run the code on your phone as emulator.
7th Oct 2020, 4:49 AM
Rajan Singh