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?

  • Darkassassin07@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    4 days ago

    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