A quick search for “android chrome embed pdf” got me this link:
https://support.google.com/chrome/thread/68561173/android-chrome-browser-don-t-preview-pdf?hl=en
A quick search for “android chrome embed pdf” got me this link:
https://support.google.com/chrome/thread/68561173/android-chrome-browser-don-t-preview-pdf?hl=en
I was not expecting chrome to open pdf. But what happened to Firefox. Is firefox behaving the same for others also. I wanted to know whether the firefox behaviour is a bug because the TW wasn’t working well in android firefox. I was wondering whether this was due to some plug ins installed in my wiki. Previously firefox used to work nicely with TW.
I don’t know if it will help in this case but it seems like it might. You can give “Open Link With” a try:
It helps me in a handful of corner cases where the browser (or the wrong browser) opens up by default.
/Mike
I found a workaround using Kiwi browser. It allows chrome extensions like pdf viewer. This let’s you to see the embedded pdf within the tiddler.
I believe if you install a good PDF viewer app it will add viewers into at least the common browsers. I have not had problems viewing and embedding PDF in Chrome and FireFox. I am an enthusiastic user of the FoxIt PDF Reader.
But we’re talking about Android here, where the mainline browsers shut down almost all extensions.
Perhaps, but FoxIt reader has mobile apps as well. I would need to test different combinations to be sure.
However my point is typically if you want support for any particular file format, PDF included, you need to install that support on the device where you want that support, and good support integrates with the browser.
I don’t know if it’s matter of the Firefox for Android version (2024, v. 126.0.1), but I’m viewing embedded PDFs in tiddlers just now (using the _canonical_uri + application/pdf type way, pointing to a path like “sub/sub/directory/file.pdf”).
I was using Tiddloid, where embedded PDF files doesn’t load, so I tried with RCX + Firefox and works like a charm, no additional extensions needed in the browser.
Notes:
Been a while, but I wanted to ask if you are still able to open files on Firefox? I cannot seem to do so.
It seems it no longer appears in the open with menu.
This remains the case if I sync the .html file to a local folder from a mount, and then ‘share’ to Firefox. It doesn’t navigate to the file at all.
I found an old conversation and it seems the feature deliberately taken out to patch a security issue, and was ‘not planned’ as of 2022.
I’m still seeing reports on people discovering this every year though, up to 2025, and finding that Firefox for Android still can’t open local files.
The new way to open/work on local TiddlyWikis in Firefox for Android is trough a local server. I’m using tw5server since 2024, no complains, except for the laborious initial setup, but it’s worth it.
It involves this general steps (no time to go deeper on each one):
~/.termux/widget/dynamic_shortcuts with content like this:#!/bin/bash
./tw5server --autoclean -a:localhost -p:8000 -d:./storage/shared/path/to/your/local/tw/
localhost:8000, it will show the directory where your TiddlyWiki(s) are stored, pick one and it will open and be editable and savable.