I’ve got an HTML file on my phone, and would like to view it. But Firefox on Android has neither a menu entry “Open File”, nor does using the file:// method work, nor is any app associated with the .html file extension.
BTW, Chrome suffers from the same problem. And it is not an issue with the file, it works when opened via the https:// method from my home server.
Why, oh why, can’t I open a local file on Android?
I think it’s android that won’t let Firefox access the local files. Doesn’t work with Fennec either
The Android way to do this is to open the file from some sort of file browser app and select Firefox from the list of apps that registered for that file type. Unfortunately it looks like Firefox doesn’t register itself for html files.
I personaly use this extension if i need to open html
It’s clunky, but I can open files in firefox by using a file browser app (I use x-plore), selecting ‘open with’, then selecting firefox. Sometimes it’s not in the list, but there’s a selector for what type of file (text, video, audio, ‘*’). ‘*’ lists all the apps.
Sometimes stuff still refuses to open, but things like pdfs and html files usually work
OK, my file browser does not offer this option.
In case you end up looking for other file explorers, this one has treated me well: https://github.com/Raival-e/File-Explorer-Compose?tab=readme-ov-file
(And has the ability to open with, then change from browsers to any app type so you can locate Firefox)
Try using the share option, and choose firefox?
Can’t choose Firefox from share, sorry.