Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting to Android Emulator through VNC

How can we connect to Android emulator through VNC with the help of noVNC using javascript? i would like to render the emulator on my browser.How can that be done.thanks

like image 994
VJ Sai Avatar asked Oct 11 '12 19:10

VJ Sai


1 Answers

You can start the emulator on the console with emulator -avd <the avd name> and add options for qemu with -qemu in your case -qemu -vnc :2 will start a VNC server listening at Port 5902. If you get an error, that your keymap was not found you can creating a symlink from android-sdks/tools/keymaps to the keymaps folder of your local qemu install.

Until now I couldn't find out, how to forward the mouse to the VNC server.

like image 61
white_gecko Avatar answered Sep 28 '22 08:09

white_gecko