<div>Thank you Michael,</div>
<div> </div>
<div>I'm quite new to the Linux world, so forgive me if my questions are too naive, but nevertheless, let me reiterate what I understood:</div>
<div> </div>
<div>There is a vboxguest.ko module that can be (is?) installed on the guest system and then can be used as a gate to VBox framework.</div>
<div>In order to access services, provided by vboxguest.ko I need to build VBoxGuestLib.</div>
<div> </div>
<div>So, my naive questions are:</div>
<div> </div>
<div>1. Where do I get that vboxguest.ko module? Do I build it?</div>
<div>2. I was trying to build VBoxGuestLib (kmk -all while in VBox/Additions/common/VBoxGuestLib), but it doesn't seem to produce any meaningful output (no .o, not .a, and no .so files at all). So, how do I build that library? Shouls I just include these source files into my Makefile?</div>

<div> </div>
<div>Thank you again,</div>
<div> </div>
<div>Vladimir<br><br></div>
<div class="gmail_quote">On Thu, Mar 24, 2011 at 7:41 AM, Michael Thayer <span dir="ltr"><<a href="mailto:michael.thayer@oracle.com">michael.thayer@oracle.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hello Vladmir,<br>
<div class="im"><br>On Thu, 2011-03-24 at 07:21 -0700, Vladimir Chtchetkine wrote:<br>> I'm running Android as a guest, and want to use host cursor in it<br></div>[Snip]<br>
<div class="im">> I've read and re-read the doc, but I still can't get it how can I<br>> write my<br>> own (standalone) guest addition app that would be separate from the<br>> whole<br>> guest additions installation enchilada. Is it possible at all?<br>
</div>I'm afraid that mouse pointer integration is not very well separated<br>from other bits - we have a kernel module called vboxguest.ko which<br>provides a lot of unrelated services, including pointer integration.<br>
However, since Android uses a Linux kernel that module should work there<br>with few or no changes.  You can then send ioctls from user space to get<br>the pointer position and set the pointer bitmap.  There is a userspace<br>
library at<br><br><a href="http://www.virtualbox.org/browser/trunk/src/VBox/Additions/common/VBoxGuestLib" target="_blank">http://www.virtualbox.org/browser/trunk/src/VBox/Additions/common/VBoxGuestLib</a><br><br>(the R3 bits, not the R0 ones) which handles most of the protocol-y<br>
stuff, so that you can just build and link that library and call the<br>high-level services it provides.  The library should be reasonably<br>portable, and works on Windows, OS/2 and various Unix-y guests, so it<br>should again be usable with few or no changes on Android.<br>
<br>Let me know if that helps.<br><br>Regards,<br><br>Michael<br>--<br>ORACLE Deutschland B.V. & Co. KG   Michael Thayer<br>Werkstrasse 24                     VirtualBox engineering<br>71384 Weinstadt, Germany           mailto:<a href="mailto:michael.thayer@oracle.com">michael.thayer@oracle.com</a><br>
<br>Hauptverwaltung: Riesstr. 25, D-80992 München<br>Registergericht: Amtsgericht München, HRA 95603<br><br>Komplementärin: ORACLE Deutschland Verwaltung B.V.<br>Rijnzathe 6, 3454PV De Meern, Niederlande<br>Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697<br>
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven<br><br></blockquote></div><br>