Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More
Open

Problem with opening a local pdf file with FF for Android

Ned89 replied
Ned89

Hello, I have Firefox for Android 151.0.4 on a Samsung A50 with Android 9. On the SD card of the device I have several pdf files which can be opened with Adobe Acrobat with no problems. Instead, when I go to the device's file manager, move to that SD card, long-tap on one of those pdf files, tap on the three dots to see more options, choose "Open with" and finally select Firefox, I have that Firefox opens with a "File not found" page and the address bar shows, for instance "content://media/external/file/22098" while the pdf file I tried opening is "/SD Card/Test.pdf".

Is it possible to open local pdf files on my device with Firefox for Android? In the positive case, how can I do it in my case?

Thank you

Hello, I have Firefox for Android 151.0.4 on a Samsung A50 with Android 9. On the SD card of the device I have several pdf files which can be opened with Adobe Acrobat with no problems. Instead, when I go to the device's file manager, move to that SD card, long-tap on one of those pdf files, tap on the three dots to see more options, choose "Open with" and finally select Firefox, I have that Firefox opens with a "File not found" page and the address bar shows, for instance "content://media/external/file/22098" while the pdf file I tried opening is "/SD Card/Test.pdf". Is it possible to open local pdf files on my device with Firefox for Android? In the positive case, how can I do it in my case? Thank you

All Replies (11)

I do not have this problem. Could you please check if your Filefox has permission to open that file?

For example, if you download a pdf file using Firefox, can you open it with Firefox?

Hi wxie, thanks for your feedback.

For your first question. I have no clue if Firefox has permissions to open that pdf file (as well as any other pdf files). How can I check that and modify that if need be?

What I didn't directly specify in my initial post is that the local pdf files which I am trying to open are not in the device's Download folder (though I mentioned that files are in "/SD Card/").

Coming to your second question. If I browse to this random webpage: https://ee.co.uk/help/terms-and-conditions/general/website-terms-of-use and I tap on one of the two pdf files which are visible there, like the first one from the top, for instance: https://ee.co.uk/content/dam/help/terms-and-conditions/general/website-terms-of-use/website-terms-of-use-14.02.22.pdf I have that that pdf file correctly opens in Firefox.

Izmjenjeno od strane Ned89

Good. Could you please check if you can open a pdf file which is not located in your SD card. For example, a pdf file in another directory of your phone.

I assume you find a bug in Firefox that it has problem opening files in external SD card.

This somewhat depends on how the system passes that: bugzilla.mozilla.org/1868382

You're saying the other apps can open things passed from the SD card, and it's just Firefox that's getting the error?

Hi wxie,

I just tried opening two pdf files from two different locations of the internal memory of the phone and same error. The only thing that changes is the numerical part at the end of the content:// URI I reported in my first post.

jbr said

This somewhat depends on how the system passes that: bugzilla.mozilla.org/1868382 You're saying the other apps can open things passed from the SD card, and it's just Firefox that's getting the error?

I see the bug is closed. Is it a regression?

It's from a dependency tree of similar ones bugzilla.mozilla.org/1869250 that give the idea what are the conditions and expectations.

I'm genuinely not sure. Would it be possible that Android 9 did not have some of these security measurements, or the exports behave differently? I don't see any open bug, might be worth filing one if anyone else also reproduces?

Hi jbr and all,

Thanks for the willingness to help.

Though I can imagine that maybe there are not many devices on Android 9 nowadays, still I find it really helpful that Firefox is available also for that OS.

I hope that something could be done for this issue.

If you can, please file a bug report at bugzilla.mozilla.org

This will keep you informed about the status.

Thank you.

Just to add that the same happens with the latest Firefox for Android 152.0.4.

Postavite pitanje

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.