0aa7d2f8c2
the msg string is a concatenation of two strings and a '\n' character (strlen(str1) + strlen(str2) + 1) is one byte off because the string needs to be terminated by a NUL byte. |
||
---|---|---|
.settings | ||
bin | ||
jni | ||
libs | ||
nativeMethods | ||
res | ||
src/org/onaips/vnc | ||
.classpath | ||
.directory | ||
.gitignore | ||
.project | ||
AndroidManifest.xml | ||
build.xml | ||
CHANGELOG | ||
LICENSE | ||
project.properties | ||
README | ||
TODO | ||
updateExecsAndLibs.sh |
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