forked from oNaiPs/droidVncServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
35 lines (27 loc) · 1.04 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
$ ./updateExecsAndLibs.sh
-------------- Compile Wrapper libs -----------------
$ cd <aosp_folder>
$ . build/envsetup.sh
$ lunch
$ ln -s <droid-vnc-folder>/nativeMethods/ external/
To build:
$ cd external/nativeMethods
$ mm .
$ cd <droid-vnc-folder>
$ ./updateExecsAndLibs.sh
-------------- Compile GUI------- -------------------
Import using eclipse as a regular Android project