<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/10/2014 08:02 PM, Andreas
Storbjörk wrote:<br>
</div>
<blockquote cite="mid:52D035BD.9020902@storbjork.fi" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<br>
I've been trying to register a uri scheme handler, something like
"myapp://xxxxx", so that when Sailfish browser tries to open such
an url, it would open my app and pass the url as argument. But so
far I've had very little success.. it seems to work if I use the
"lca-tool" command to verify it but nothing happens in Sailfish
browser when visiting such an url. It just tells me "myapp is not
a registered protocol". I can find my handler in
/usr/share/applications/mimeinfo.cache and it looks ok.<br>
<br>
Is there something besides editing the .desktop file and running
"update-desktop-database" that I still need todo to make it work?<br>
</blockquote>
<br>
You can make a protocol handler and use it between applications in
Sailfish OS and that is what you have. However, Gecko only maps
specific predefined protocols to ones available in system. See:<br>
<a class="moz-txt-link-freetext" href="https://github.com/tmeshkova/embedlite-components/commit/af49c55c20809d419ab02e3512120bca3654492c">https://github.com/tmeshkova/embedlite-components/commit/af49c55c20809d419ab02e3512120bca3654492c</a><br>
<br>
Writing a similar protocol handler for Gecko and installing it from
your package might be technically possible, but might not be
accepted to harbour.<br>
<br>
<pre class="moz-signature" cols="72">--
Vesa-Matti Hartikainen
Jolla Oy
<a class="moz-txt-link-freetext" href="http://jolla.com">http://jolla.com</a>
p. +358 50 487 6067</pre>
</body>
</html>