If none of you experts can say whether it is possible to teach an Android to pass a link like
joplin://x-callback-url/openNote?id=ebcd30d052bb46bbb87353beeda96089
to the Joplin app, I suggest a solution in combination with a web server / API in your infrastructure.
Let's say you have a small web application installed under a URL like
https://RedirectJoplin.joplincloud.com
which receives the external link as a parameter via a call like
https://RedirectJoplin.joplincloud.com?joplin://x-callback-url/openNote?id=ebcd30d052bb46bbb87353beeda96089
The web server / API takes this parameter, generates a redirect from it and sends it back to the calling device.
In this example,
joplin://x-callback-url/openNote?id=ebcd30d052bb46bbb87353beeda96089
would be passed to the browser installed there, which would use this value to open the Joplin application installed there. In principle, this solution works on both Windows and Android, and should work on other operating systems as well. I have created a small PoC with a static index.html using this link and have just tested it successfully. The PoC link
https://nodecaffcoff-2023.de/2024-07-10-PoC-GeneralLink
takes me to the desired note on both my Windows PC and my Android.
The index.html has the following content
<html>
<head>
<meta http-equiv="refresh" content="0;URL=joplin://x-callback-url/openNote?id=ebcd30d052bb46bbb87353beeda96089">
</head>
<body>
</body>
</html>
1 Like