droidVncServer/README

35 lines
1.1 KiB
Plaintext
Raw Normal View History

2012-06-11 16:34:59 -04:00
The droid-VNC-server projects consists in three main modules parts: the daemon, wrapper libs and the GUI.
2011-10-29 07:14:14 -04:00
2012-06-11 16:34:59 -04:00
- Daemon -
Provides the vnc server functionality, injects input/touch events, clipboard management, etc
Available in jni/ folder
2011-10-29 07:14:14 -04:00
2012-06-11 16:34:59 -04:00
- Wrapper libs -
Compiled against the AOSP so everyone can build the daemon/GUI without having to fetch +2GB files.
Currently there are 2 wrappers, gralloc and flinger.
2011-10-29 07:14:14 -04:00
2012-06-11 16:34:59 -04:00
Available in nativeMethods/ folder, and precompiled libs in nativeMethods/lib/
2012-06-11 16:34:59 -04:00
- GUI -
GUI handles user-friendly control.
Connects to the daemon using local IPC.
2012-06-11 16:34:59 -04:00
-------------- Compile C daemon ---------------------
On project folder:
$ ndk-build
2012-06-11 23:11:34 -04:00
$ mv libs/armeabi/androidvncserver /res/raw/androidvncserver.mp3 :O mp3 overcomes the 1MB limitation on some resources
2012-06-11 16:34:59 -04:00
-------------- Compile Wrapper libs -----------------
$ cd <aosp_folder>
$ . build/envsetup.sh
$ lunch
$ ln -s <droid-vnc-folder>/nativeMethods/ external/
2012-06-11 16:34:59 -04:00
To build:
$ mm external/nativeMethods
2012-06-11 23:11:34 -04:00
$ cp <droid-vnc-folder>/nativeMethods/lib/* <droid-vnc-folder>/res/raw
2012-06-11 16:34:59 -04:00
-------------- Compile GUI------- -------------------
Import using eclipse as a regular Android project