droidVncServer/README
2012-06-12 04:11:34 +01:00

35 lines
1.1 KiB
Plaintext

The droid-VNC-server projects consists in three main modules parts: the daemon, wrapper libs and the GUI.
- Daemon -
Provides the vnc server functionality, injects input/touch events, clipboard management, etc
Available in jni/ folder
- 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.
Available in nativeMethods/ folder, and precompiled libs in nativeMethods/lib/
- GUI -
GUI handles user-friendly control.
Connects to the daemon using local IPC.
-------------- Compile C daemon ---------------------
On project folder:
$ ndk-build
$ mv libs/armeabi/androidvncserver /res/raw/androidvncserver.mp3 :O mp3 overcomes the 1MB limitation on some resources
-------------- Compile Wrapper libs -----------------
$ cd <aosp_folder>
$ . build/envsetup.sh
$ lunch
$ ln -s <droid-vnc-folder>/nativeMethods/ external/
To build:
$ mm external/nativeMethods
$ cp <droid-vnc-folder>/nativeMethods/lib/* <droid-vnc-folder>/res/raw
-------------- Compile GUI------- -------------------
Import using eclipse as a regular Android project