Home / GitHub Page

Opening attached files at Android

Hi all,

I have been looking for some easy way to open attached files on my Android phone. For example I would like open a concert ticket (pdf file) which I have added. Because it has a barcode I cant just copy and paste the text.
At this moment I get (as expected) the message: “The Joplin mobile app does not currently support this type of link: resource” when I try to open the file in the Android app.

I have found a workaround, but its not pretty. It requires finding the file in the .resource folder, which is hard with the naming convention. And then share it so I can save it on my phone. After adding “.pdf” to the file I can open it.

Does anyone know some other possibilities?

Hi,
a request has been made yesterday for that here

I have seen it :slight_smile: Thx!

Until the implementation I would be happy if there is an easier workaround available.

may be a pdf reader that could opened the file once downloaded without digging in the deep folders ?

I love that in windows, if Joplin itself can’t handle an attachment, it just launches the default associated application.
Is there no way to replicate such behaviour in android? I often attach sound snippets (mostly mp3s), and while I don’t mind Joplin not being able to play it in an embedded player, I’d like to be able to play it in an external app with a single tap.

Logger mentioned PDF as an example, but the request should be general, for files of any format.

What about opening a separate request to just launch any file (of any format) with any valid application for their mime type? (The standard Android Intent.ACTION_VIEW.)

2 Likes

That would be so fine :slight_smile:
But in the meantime I am still happy with Joplin so far…what a great work!

If someone has a workaround available I am still interested :slight_smile:

I would like to open the attached pictures in an external app on Android the way it’s done in the desktop app. Now sharing the pictures placed inside of a note is quite difficult on mobile. Or I just haven’t figured it out properly. Looking the picture up in my Nextcloud folder is not an option 'cause my notes are encrypted.

Hi Ipra, how does this work in the desktop app? Right mouse button and save picture? On android you could make a printscreen and share it.

Thanks for replying. I found a way to open quickly. Just erase the exclamation mark in the beginning of the name of the attachment. After that pressing the link opens in an external app right away.

Hi, firstly thanks for the outstanding app(s)!

Actually, I noticed a similar issue when opening “.sdoc” files on Android. “.sdoc” file is an export file/archive from Samsung Notes. However, when opening the link to this file from a Joplin note, the Joplin app does not show the Samsung Notes as one of the apps in the “Open with” option.

I should note that I am using encryption with my notes. But, this issue only happens with the “.sdoc” files, other links or files (e.g. PDF) work correctly so I do not think it is a problem with this.

Device: Galaxy Note 9
OS: Android 9
Joplin app version: 1.0.252

Thanks very much for looking into this.