# droidVNCServer **Repository Path**: wanglisoftware/droidVNCServer ## Basic Information - **Project Name**: droidVNCServer - **Description**: Vncserver for Android machine.you can link your phone at home or other place by this software.安卓版vncserver端源码,通过VNCServer,你可以很方便的远程你的手机。 - **Primary Language**: C - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2022-01-19 - **Last Updated**: 2022-01-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 写在前面 1.ndk-build 版本有要求 ,不能r21,r10e可以用 2.vim ~/.bashrc # andorid ndk-build # NDK_HOME必须和ndk的路径一致! export NDK_HOME=/home/tianbo/下载/android-ndk-r21b export PATH=$PATH:$NDK_HOME # 友情链接 3.详细地址:https://www.lofter.com/lpost/1ede179c_1caed164d https://developer.android.google.cn/ndk/downloads/ https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip?hl=zh_cn # 详细使用 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 $ . build/envsetup.sh $ lunch $ ln -s /nativeMethods/ external/ To build: $ cd external/nativeMethods $ mm . $ cd $ ./updateExecsAndLibs.sh -------------- Compile GUI------- ------------------- Import using eclipse as a regular Android project ![输入图片说明](https://images.gitee.com/uploads/images/2021/0817/144332_5031ae2b_9151077.png "屏幕截图.png") ![输入图片说明](https://images.gitee.com/uploads/images/2021/0817/144347_7789a060_9151077.png "屏幕截图.png")