<div dir="ltr"><div dir="ltr"><div>Hi, all.</div><div>I try to use Sailfish.TransferEngine.SharePage in my code like in gallery to share link to comics with accounts.</div><div><br></div><div>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,128)">IconButton</span><span style="color:rgb(192,192,192)"> </span>{</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">id</span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">shareButton</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">icon.</span><span style="text-decoration:underline">source</span>:<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"image://Theme/icon-m-share"</span></pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">anchors.verticalCenter</span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">parent</span>.verticalCenter</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,0,0)">onClicked</span>:<span style="color:rgb(192,192,192)"> </span>{</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>pageStack.push(<span style="color:rgb(0,128,0)">"Sailfish.TransferEngine.SharePage"</span>,</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>{</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"source"</span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">comicProxy</span>.stripImageUrl.toString(),</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"mimeType"</span>:<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"text/x-uri"</span>,</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"content"</span>:<span style="color:rgb(192,192,192)"> </span>{<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"type"</span>:<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"text/x-uri"</span>,<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"status"</span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">comicProxy</span>.stripImageUrl.toString()<span style="color:rgb(192,192,192)"> </span>},</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"serviceFilter"</span>:<span style="color:rgb(192,192,192)"> </span>[<span style="color:rgb(0,128,0)">"sharing"</span>,<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"e-mail"</span>]</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>})</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>}</pre>
<pre style="margin:0px;text-indent:0px"><span style="color:rgb(192,192,192)"> </span>}<br><br></pre><pre style="margin:0px;text-indent:0px">this is the code.<br></pre><pre style="margin:0px;text-indent:0px">I have clipboard transfer engine plugin(only copies text to clupboard) but when I try to use it in such case - sailfish downloads content by link.<br></pre><pre style="margin:0px;text-indent:0px">When I try to share link from browser with my plugin - all works fine and link copied to clipboard.<br><br></pre><pre style="margin:0px;text-indent:0px">How I can prevent downloading content?<br></pre></div></div></div>