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/
|
2011-10-29 06:56:13 -04:00
|
|
|
|
2012-06-11 16:34:59 -04:00
|
|
|
- GUI -
|
|
|
|
GUI handles user-friendly control.
|
|
|
|
Connects to the daemon using local IPC.
|
2011-10-29 06:56:13 -04:00
|
|
|
|
2012-06-11 16:34:59 -04:00
|
|
|
-------------- Compile C daemon ---------------------
|
|
|
|
On project folder:
|
|
|
|
$ ndk-build
|
2012-06-13 16:15:43 -04:00
|
|
|
$ ./updateExecsAndLibs.sh
|
2011-10-29 06:56:13 -04:00
|
|
|
|
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/
|
2011-10-29 06:56:13 -04:00
|
|
|
|
2012-06-11 16:34:59 -04:00
|
|
|
To build:
|
2012-06-13 16:15:43 -04:00
|
|
|
$ cd external/nativeMethods
|
|
|
|
$ mm .
|
|
|
|
$ cd <droid-vnc-folder>
|
|
|
|
$ ./updateExecsAndLibs.sh
|
2012-06-11 16:34:59 -04:00
|
|
|
|
|
|
|
-------------- Compile GUI------- -------------------
|
|
|
|
Import using eclipse as a regular Android project
|