<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 4, 2018 at 6:57 PM, i iordanov <span dir="ltr"><<a href="mailto:iiordanov@gmail.com" target="_blank">iiordanov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
There is one thing that I wanted to report to you and ask you how we<br>
can approach.<br>
<br>
aSPICE is a derivative project of bVNC, and because of that, for a<br>
time in its AndroidManifest.xml file, the mimeType remained<br>
application/vnd.vnc:<br>
<br>
<intent-filter><br>
<action android:name="android.intent.<wbr>action.VIEW" /><br>
<category android:name="android.intent.<wbr>category.DEFAULT"/><br>
<data android:mimeType="application/<wbr>vnd.vnc" /><br>
</intent-filter><br>
<br>
whereas to avoid it cropping up in the list of applications when a VNC<br>
console is being connected to, its mimeType should have been<br>
application/vnd.spice, like so:<br>
<br>
<intent-filter><br>
<action android:name="android.intent.<wbr>action.VIEW" /><br>
<category android:name="android.intent.<wbr>category.DEFAULT"/><br>
<data android:mimeType="application/<wbr>vnd.spice" /><br>
</intent-filter><br>
<br>
I noticed this recently when I wrote my own integration with bVNC via<br>
an intent and used it on a device where aSPICE and bVNC are both<br>
present. Instead of seeing just bVNC, I saw both bVNC and aSPICE as<br>
clients to connect to VNC.<br>
<br>
So what I've done now is I've put both the above intent filters in<br>
aSPICE's AndroidManifest.xml in order to not break moVirt, but I'd<br>
like for you to change moVirt to create an intent with vnd.spice set<br>
as the mimeType when opening SPICE consoles rather than vnd.vnc as it<br>
does now. Since the fix is already out in aSPICE, you are at liberty<br>
to make the change on your side at any time.<br>
<br>
I've created a Pull Request against your project with the fix.<br>
<br>
<a href="https://github.com/oVirt/moVirt/pull/295" rel="noreferrer" target="_blank">https://github.com/oVirt/<wbr>moVirt/pull/295</a></blockquote><div><br></div><div>wow, great, thank you!</div><div><br></div><div>@Filip, can you please have a look at the PR?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Sincerely,<br>
iordan<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Jul 13, 2015 at 5:35 PM, i iordanov <<a href="mailto:iiordanov@gmail.com">iiordanov@gmail.com</a>> wrote:<br>
> Hi Thomas,<br>
><br>
> You're welcome! As you can tell, I am very busy these days.<br>
><br>
> Cheers,<br>
> iordan<br>
><br>
> On Wed, Jul 8, 2015 at 3:53 AM, Tomas Jelinek <<a href="mailto:tjelinek@redhat.com">tjelinek@redhat.com</a>> wrote:<br>
>><br>
>><br>
>> ----- Original Message -----<br>
>>> From: "i iordanov" <<a href="mailto:iiordanov@gmail.com">iiordanov@gmail.com</a>><br>
>>> To: "Tomas Jelinek" <<a href="mailto:tjelinek@redhat.com">tjelinek@redhat.com</a>><br>
>>> Cc: <a href="mailto:movirt@ovirt.org">movirt@ovirt.org</a><br>
>>> Sent: Monday, July 6, 2015 1:44:45 AM<br>
>>> Subject: Re: [moVirt] Questions for freeaSPICE<br>
>>><br>
>>> Hey,<br>
>>><br>
>>> I just released an updated v3.7.7 with the parameters added.<br>
>>><br>
>>> I've also updated the ticket you opened.<br>
>>><br>
>>> Please find an updated version here:<br>
>>> <a href="https://github.com/iiordanov/remote-desktop-clients/releases/download/v3.7.7/freeaSPICE-3.7.7-final.apk" rel="noreferrer" target="_blank">https://github.com/iiordanov/<wbr>remote-desktop-clients/<wbr>releases/download/v3.7.7/<wbr>freeaSPICE-3.7.7-final.apk</a><br>
>>><br>
>>> I've also released the version above in Google Play.<br>
>><br>
>> Tested by both Yixin and me and works like a charm. We have updated the movirt page saying to install the version from the play store.<br>
>> Thank you for the fast response!<br>
>><br>
>>><br>
>>> Cheers!<br>
>>> iordan<br>
>>><br>
>>> On Fri, Jul 3, 2015 at 5:30 AM, Tomas Jelinek <<a href="mailto:tjelinek@redhat.com">tjelinek@redhat.com</a>> wrote:<br>
>>> ><br>
>>> ><br>
>>> > ----- Original Message -----<br>
>>> >> From: "Tomas Jelinek" <<a href="mailto:tjelinek@redhat.com">tjelinek@redhat.com</a>><br>
>>> >> To: "i iordanov" <<a href="mailto:iiordanov@gmail.com">iiordanov@gmail.com</a>><br>
>>> >> Cc: <a href="mailto:movirt@ovirt.org">movirt@ovirt.org</a><br>
>>> >> Sent: Wednesday, June 24, 2015 4:34:48 PM<br>
>>> >> Subject: Re: [moVirt] Questions for freeaSPICE<br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> ----- Original Message -----<br>
>>> >> > From: "i iordanov" <<a href="mailto:iiordanov@gmail.com">iiordanov@gmail.com</a>><br>
>>> >> > To: "Tomas Jelinek" <<a href="mailto:tjelinek@redhat.com">tjelinek@redhat.com</a>><br>
>>> >> > Cc: "Yixin Zhang" <<a href="mailto:yixin_1992_cia@126.com">yixin_1992_cia@126.com</a>>, <a href="mailto:movirt@ovirt.org">movirt@ovirt.org</a><br>
>>> >> > Sent: Wednesday, June 24, 2015 4:13:06 PM<br>
>>> >> > Subject: Re: Questions for freeaSPICE<br>
>>> >> ><br>
>>> >> > Thank you, I hope to look at it this weekend.<br>
>>> ><br>
>>> > Hi, any progress?<br>
>>> ><br>
>>> >><br>
>>> >> That would be awesome, thank you!<br>
>>> >><br>
>>> >> ><br>
>>> >> > Cheers!<br>
>>> >> > iordan<br>
>>> >> ><br>
>>> >> > On Wed, Jun 24, 2015 at 4:53 AM, Tomas Jelinek <<a href="mailto:tjelinek@redhat.com">tjelinek@redhat.com</a>><br>
>>> >> > wrote:<br>
>>> >> > > I have opened an issue on github for this:<br>
>>> >> > > <a href="https://github.com/iiordanov/remote-desktop-clients/issues/49" rel="noreferrer" target="_blank">https://github.com/iiordanov/<wbr>remote-desktop-clients/issues/<wbr>49</a> if that<br>
>>> >> > > is<br>
>>> >> > > a<br>
>>> >> > > more suitable place to discuss it.<br>
>>> >> > ><br>
>>> >> > > ----- Original Message -----<br>
>>> >> > >> From: "Yixin Zhang" <<a href="mailto:yixin_1992_cia@126.com">yixin_1992_cia@126.com</a>><br>
>>> >> > >> To: <a href="mailto:iiordanov@gmail.com">iiordanov@gmail.com</a><br>
>>> >> > >> Cc: <a href="mailto:tjelinek@redhat.com">tjelinek@redhat.com</a>, <a href="mailto:movirt@ovirt.org">movirt@ovirt.org</a><br>
>>> >> > >> Sent: Thursday, June 18, 2015 4:28:14 PM<br>
>>> >> > >> Subject: Questions for freeaSPICE<br>
>>> >> > >><br>
>>> >> > >> Dear Sir or Madam,<br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >> Sorry can I have your name? freeaSPICE is a very nice APP, it could<br>
>>> >> > >> be<br>
>>> >> > >> used<br>
>>> >> > >> to connect the virtual machine directly.<br>
>>> >> > >><br>
>>> >> > >> There are some problems confused me, can I ask for you suggestions?<br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >> I'm Yixin Zhang,and now doing an internship for Outreachy Project,and<br>
>>> >> > >> now<br>
>>> >> > >> I'm<br>
>>> >> > >> in the project movirt. I'm thinking of calling freeaSPICE in movirt<br>
>>> >> > >> to<br>
>>> >> > >> connect VM, the calling code as followed:<br>
>>> >> > >><br>
>>> >> > >> Intent intent = new Intent(Intent.ACTION_VIEW)<br>
>>> >> > >><br>
>>> >> > >> .setType("application/vnd.vnc"<wbr>)<br>
>>> >> > >><br>
>>> >> > >> .setData(data);<br>
>>> >> > >><br>
>>> >> > >> startActivity(intent);<br>
>>> >> > >><br>
>>> >> > >> And the data form as<br>
>>> >> > >> followed:spice://<a href="http://192.168.1.100:5900?SpicePassword=...&TlsPort=5901&CaCertPath=...&CertSubject=.." rel="noreferrer" target="_blank">192.168.1.<wbr>100:5900?SpicePassword=...&<wbr>TlsPort=5901&CaCertPath=...&<wbr>CertSubject=..</a>..<br>
>>> >> > >><br>
>>> >> > >> However while I checked for you source<br>
>>> >> > >> code:<a href="https://github.com/iiordanov/remote-desktop-clients" rel="noreferrer" target="_blank">https://github.com/<wbr>iiordanov/remote-desktop-<wbr>clients</a> , I found it<br>
>>> >> > >> can<br>
>>> >> > >> not pass the parameters TlsPort, CaCertPath, CertSubject using this<br>
>>> >> > >> method,<br>
>>> >> > >> is there any other ways to pass the parameters, if there is, could u<br>
>>> >> > >> give<br>
>>> >> > >> me<br>
>>> >> > >> some suggestions? Thank you so much.<br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >><br>
>>> >> > >> In order to pass these three parameter TlsPort, CaCertPath,<br>
>>> >> > >> CertSubjectin,I<br>
>>> >> > >> fork your remote-desktop-clients code (fork<br>
>>> >> > >> address:<a href="https://github.com/zyx0225/remote-desktop-clients/tree/aSPICE" rel="noreferrer" target="_blank">https://github.com/<wbr>zyx0225/remote-desktop-<wbr>clients/tree/aSPICE</a>),<br>
>>> >> > >><br>
>>> >> > >> Also, as you compile instruction I compiled aSPICE(But I have no idea<br>
>>> >> > >> how<br>
>>> >> > >> to<br>
>>> >> > >> compile libspice.so and libgstreamer_android.so, so I copy lib<br>
>>> >> > >> document<br>
>>> >> > >> of<br>
>>> >> > >> freeaSPICE-3.7.7-final.apk),I add the parser code for these three<br>
>>> >> > >> parameters<br>
>>> >> > >> TlsPort, CaCertPath, CertSubject (The main logical code:<br>
>>> >> > >> :<a href="https://github.com/zyx0225/remote-desktop-clients/commit/5233d9bb5f6434bba97237fd8ea014cf19b14c88" rel="noreferrer" target="_blank">https://github.com/zyx0225/<wbr>remote-desktop-clients/commit/<wbr>5233d9bb5f6434bba97237fd8ea014<wbr>cf19b14c88</a>),<br>
>>> >> > >> and invoke aSPICE in movirt to connect VM successfully. However, it<br>
>>> >> > >> just<br>
>>> >> > >> want to prove some my own guess and I have no idea whether there are<br>
>>> >> > >> some<br>
>>> >> > >> problem to code in such way.<br>
>>> >> > >><br>
>>> >> > >> We really really hope that we could invoke freeaSPICE in movirt to<br>
>>> >> > >> realize<br>
>>> >> > >> such functions, and I like freeaSPICE this APP so much, with great<br>
>>> >> > >> appreciate that you developed such a great APP. If we could realize<br>
>>> >> > >> our<br>
>>> >> > >> ideas mentioned above using your freeaSPICE, it would be such an<br>
>>> >> > >> exciting<br>
>>> >> > >> thing.<br>
>>> >> > >><br>
>>> >> > >> Could you add parser for these three parameters TlsPort, CaCertPath,<br>
>>> >> > >> CertSubject in next version of freeaSPICE, or other ways that we<br>
>>> >> > >> could<br>
>>> >> > >> invoke freeaSPICE in movirt to connect VM?<br>
>>> >> > >><br>
>>> >> > >> Thank you so much for your time, looking forward to your reply<br>
>>> >> > >><br>
>>> >> > >> Best Regards,<br>
>>> >> > >><br>
>>> >> > >> Yixin Zhang<br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > --<br>
>>> >> > The conscious mind has only one thread of execution.<br>
>>> >> ><br>
>>> >> ______________________________<wbr>_________________<br>
>>> >> moVirt mailing list<br>
>>> >> <a href="mailto:moVirt@ovirt.org">moVirt@ovirt.org</a><br>
>>> >> <a href="http://lists.ovirt.org/mailman/listinfo/movirt" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/movirt</a><br>
>>> >><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> The conscious mind has only one thread of execution.<br>
>>><br>
><br>
><br>
><br>
> --<br>
> The conscious mind has only one thread of execution.<br>
<br>
<br>
<br>
--<br>
The conscious mind has only one thread of execution.<br>
</div></div></blockquote></div><br></div></div>