zadam / trilium-sender

Simple android application for sending images and notes to Trilium
GNU General Public License v3.0
80 stars 31 forks source link

Allow URLs to be shared to the app #14

Closed ilikeorangutans closed 3 years ago

ilikeorangutans commented 3 years ago

I often read interesting articles on my mobile devices and would sharing URLs to trilium-sender could be easier. This PR adds an additional intent-filter so URLs (scheme http and https) can be shared directly to trilium sender.

zadam commented 3 years ago

Hi, to be sure, does this work? I mean, is adding intent all that's needed so that the link is saved?

ilikeorangutans commented 3 years ago

Yeah tested locally on the emulator. With the additional intent filter you can now share a URL straight from the browser, i.e. trilium sender shows up in share targets.

I can add screenshots later if that helps. 🙂

On Thu., Jun. 3, 2021, 17:03 zadam, @.***> wrote:

Hi, to be sure, does this work? I mean, is adding intent all that's needed so that the link is saved?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zadam/trilium-sender/pull/14#issuecomment-854178107, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAQWI6ZGWXI6CNLIYBKNJ3TQ7U3FANCNFSM46BOZZYA .