Hi,
I see that a lot of people seem to have trouble with this. I have tried to find a solution before posting (in fact, I've spent several hours on this).
I am trying to load a 'local' HTML page into a browser widget. It works perfectly on the Windows Desktop, but not in my Android App.
I have tried using specialFolderPath("resources"), specialFolderPath("engine") and specialFolderPath("documents"). In the end, after using documents, I get this error:
Web page not available
The web page at file:///data/user/0/com-dot-myco-dot-myapp/files/file-dot-html could not be loaded because:
net::ERR_FILE_NOT_FOUND
So, I am unable to load local files into a Browser widget.
I apologise if this has been answered - I have been unable to find an answer that works with the Browser widget. I'd greatly appreciate any help with this as my Apps always use at least one or two HTML pages, specifically for About/FAQ pages.
Thanks in advance!
Path to files in Android
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 4
- Joined: Sun Sep 13, 2020 1:25 pm
Re: Path to files in Android
Thank you @mimu. Unfortunately, that still didn't work for me. I'll check the manuals etc. again.