Hi, I would like to use android emulator on my server (headless machine). But I need to be able to work in interactive mode. I have few Ideas how to do this. But "easy" solutions that I tested already have big latency and I have some questions that has to be answered before I start working on "harder" solutions.
I tested (somewhat) so far two similar approaches: 1. use droidex (http://github.com/commonsguy/droidex) and X11 forwording for vision and monkey (http://android.git.kernel.org/?p=platform/development.git;a=tree;f=cmds/monkey) for emulating input (I have to write app that will catch mouse position and key presses and send commands to monkey server) I think It would be also possible to forward adb connections (for example with netcat) instead of forwarding X11 connections. 2. Install vnc server on android (http://code.google.com/p/android-vnc/) use custom kernel for handling input via vnc or monkey (like in droidex approach). But all methods are have similar big latency. I have two ideas for doing it better: 1. I read that is possible to run qemu with vnc server (http://qemu-buch.de/cgi-bin/moin.cgi/VNCusage). Is it possible to mode emulator to use this function? 2. I think I could try to grab raw frames before they are passed to display and stream with gstreamer. I this option has one more advantage: it will be much easier to record screen cast video (my second goal) then from vnc (however it's not very hard to do it with vnc). But I'm not sure if I understood source correctly. I think I should modify http://android.git.kernel.org/?p=platform/external/qemu.git;a=blob;f=android/skin/window.c (probably display_redraw method). Am I right? Or maybe there is better place? I will appreciate any help. best regards, Maciej Sawicki -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
