I am trying to open html file that I have on my sdCard in Chrome or any other web browser (not html Viewer).
I have tried to enter path to file like this
file:///storage/extSdCard/page/page.html
I get this error:
ERR_ACCESS_DENIED
What could be wrong please?
EDIT: I have to mention that I am not developing a android app. I just want to view a html file, that is on my SD card in chrome mobile browser
EDIT2: It is not working from ext. sdcard and also from internal memory
Thank you.
This is simply happening because the chrome app doesn't have the permission to read the external storage.
if you need such an app here is a link.
Here is a list of chrome app permissions....
Your accounts
Your location
Network communication
Storage
System tools
Bookmarks and History
Camera
Microphone
Affects battery
Audio settings
Sync Settings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With