The following code used to work in FireFox on Android 5 but doesn't work in the latest FireFox on Android 9. More importantly, can you tell me what I can do to make it work so I can read html files on the local file system.
Below is standard HTML code that works in a PC browser as HTML 4, HTML 5, and XHTML but fails with error messages of "Cant find URL" or "No app to open that file." NB: Extra spaces added to stop the code running.
< p class = " center " > < img src = " .. / images / in_the_mail_900.jpg " width = " 900 " height = " 1350 " alt = " Cover " > < / p >
< p class = " center " > < img src = " in_the_mail_900.jpg " width = " 900 " height = " 1350 " alt = " Cover " > < / p >
In the code above the first references a file in another sub-folder within the same folder the html is in a sub-folder of, while the second is another file in the same folder as the web page the code is on.
The moment you use a file reference link and not an Internet based absolute link you get the 'No application can open this link' fault message. At this time my best guess is that FireFox has no code to allow it to use a file reference link and it requires a http or https start to the link to work.
The device concerned is a Lenovo Tab M7 with Android 9 and the latest version of FireFox available from the App Store.
All of the code and files I'm having trouble with on the SD Card they're on work perfectly well in FireFox 83.0 on my Zorin Linux PC as well as other browsers on my sons iMac and Windows 10 systems.
...............
This basic topic had been briefly discussed on old thread, but not resolved. Not sure if the original post had the very same issue. I was advised to start a new thread, so I am.
viewtopic.php?f=47&t=3039034
............
Sort of related to the above, I can't find a way to have FireFox take over the file associations for .htm - yes I can get it to control the association for .html but not .htm. This issue is because the Android 9 file association process doesn't recognize FireFox as a valid app for some reason.