Android VNC Server on G1 (PC 远程控制 Android 手

来源:互联网 发布:博途软件下载 编辑:程序博客网 时间:2024/05/16 18:08

 I found a vnc server for G1.

 

1. Original vnc project

http://code.google.com/p/android-vnc/

 

This one could not be used on G1, because it need build a special keyboard driver into kernel

 

2. Forked vnc server

http://code.google.com/p/android-vnc-server/

Forked from android-vnc project on google code.

The original android-vnc need build a special keyboard driver into kernel. It's not necessary. Also the touch event support is added in this version.

 

First download and install the binary

 http://code.google.com/p/android-vnc-server/downloads/list

 

If you have adb on server:

#adb push androidvncserver /data #adb shell /data/androidvncserver
Or you can just copy the downloaded file androidvncserver to the /sdcard, 
Then umount the sdcard and launch the terminal from your G1, then type
# su    <-  I have root access, I'm not sure whether the following steps work without root access.
# cp /sdcard/androidvncserver /data/
# chmod a+x /data/androidvncserver
# /data/androidvncserver &
And finally: 

Run vnc viewer from hose PC.

Here I use

http://downloads.sourceforge.net/vnc...3.10-setup.exe 

 

make sure the connection address with port 5901 : 192.168.0.101:5901

 

 

Now, I can remote control my phone from host pc.

 


原创粉丝点击