<div>
Hi,
</div><div><span style="white-space:pre"> </span>Almost of all what you said is right.</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>Ok, i have enabled Audio by now, please give me a little more time.</div><div><br></div><div><span style="white-space:pre"> </span>And it will be much more simple to build aSPICE client with dependence lib(glib and so on).</div>
<div><div><br></div><div>Thanks,</div><div><br></div><div>- Jojo</div><div><br></div></div>
<p style="color: #A0A0A8;">在 2013年7月26日星期五,上午3:21,i iordanov 写道:</p><blockquote type="cite"><div>
<span><div><div><div dir="ltr">Hello!<div><br></div><div style="">I've cc'd Jojo with whom we discussed at length building aSPICE and succeeded in the end to set up a build environment on his machine. Jojo, please chime in if I forget something.</div>
<div style=""><br></div><div style="">1) One needs to build a set of libraries which Jojo and I were able to build, but so far haven't found the time to put together build instructions. Jojo, will you be able to do so? It would be of great help at this time, and it's fresher in your mind.</div>
<div style=""><br></div><div style="">2) Yes, the build instructions for the native code are simply ndk-build, as Jojo (cc'd) can attest.</div><div style=""><br></div><div style="">3) However there are currently *TWO* places where a boolean "isSpice* must be set manually to true. This will be fixed in a future release to be one place. One is in VncCanvas, and the other in CompactBitmapData. This variable is ordinarily set to true if the package name is aSPICE, however, if memory serves me right setting the package name to aSPICE (without moving a bunch of directories around and also run running sed liberally on the code) may break sqlitegen, a package which sets up all the settings database-related files. Sqlitegen is left over from android-vnc-viewer.</div>
<div style=""><br></div><div style="">4) Finally, since the JNI calls in the project as it appears in github (as bVNC) will originate from com.iiordanov.bVNC and not com.iiordanov.aSPICE, there is a sed command I sent to Jojo which can be used to automatically fix the native code for use in bVNC. I really should think about how to get rid of this requirement. The command follows:</div>
<div style=""><br></div><div style=""><span style="font-family:arial,sans-serif;font-size:13px">cd bVNC/eclipse_projects/bVNC/</span><span style="font-family:arial,sans-serif;font-size:13px">jni/src/android</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">sed</span><span style="font-family:arial,sans-serif;font-size:13px"> -i 's/\(com.iiordanov.\)aSPICE/\</span><span style="font-family:arial,sans-serif;font-size:13px">1bVNC/' *</span><br>
</div><div style=""><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style=""><font face="arial, sans-serif">Jojo, was there anything else that needed to be done? Can you provide build instructions for the library dependencies?</font></div>
<div style=""><font face="arial, sans-serif"><br></font></div><div style=""><font face="arial, sans-serif">Thanks!</font></div><div style=""><font face="arial, sans-serif">iordan</font></div></div><div><br><br>
<div>On Wed, Jul 24, 2013 at 10:16 AM, Marc-André Lureau <span dir="ltr"><<a href="mailto:mlureau@redhat.com" target="_blank">mlureau@redhat.com</a>></span> wrote:<br><blockquote type="cite"><div>
Hi<br>
<br>
----- Mensaje original -----<br>
<div>> Dear Miss/Mr,<br>
> I am an developer addicted to appliction development on Linux platform. And I<br>
> have been enthusiastic over KVM technoly for while and experienced the spice<br>
> client software virt-viewer. Now I'd like to port the virt-viewer onto<br>
> Android platform. I find it difficult to implement it for me ,however,since<br>
> I am in fact lacking experience on across-platformed transplant.<br>
> Additionally I 've not grasped of the vir-viewer thoroughly. I would<br>
> appreciate you if you can give me some suggestions.<br>
<br>
</div>Iordan implemented aSpice, it is part of bVNC<br>
<br>
<a href="https://github.com/iiordanov/bVNC" target="_blank">https://github.com/iiordanov/bVNC</a><br>
<br>
There is no build instructions, but ndk-build should work. However, you need a bunch of libraries that are difficult to find or cross-compile yourself. It would be nice to automate this somehow with a cross-build system like cerbero.<br>
</div></blockquote></div><br><br clear="all"><div><br></div>-- <br>The conscious mind has only one thread of execution.
</div>
</div><div><div>_______________________________________________</div><div>Spice-devel mailing list</div><div><a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a></div><div><a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a></div></div></div></span>
</div></blockquote><div>
<br>
</div>