Giter VIP home page Giter VIP logo

developerally / droid-vnc-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lalith-b/droid-vnc-server

0.0 0.0 0.0 34.53 MB

VNC server for Android devices. I am looking for someone that can continue my work. Email onaips (at) gmail.com

Home Page: http://onaips.com

License: GNU General Public License v3.0

Makefile 0.63% Groff 1.48% C 77.36% Shell 2.93% SAS 0.07% Smalltalk 0.01% Assembly 6.45% HTML 2.44% Module Management System 0.07% CMake 0.20% Batchfile 0.03% CSS 0.15% Perl 4.37% JavaScript 1.16% Java 0.76% C++ 1.66% DIGITAL Command Language 0.05% Awk 0.15% XS 0.02% eC 0.02%

droid-vnc-server's Introduction

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 of the daemon. Connects to the daemon using local IPC. Should use vnc-build.sh and vnc-daemon.sh instead though.

Compiling

Use the vnc-build.sh script to build the daemon and wrapper libs and to deploy to a connected device.

Options:

- `-w`: Compile the wrapper libs
- `-s`: Skip deploy to device
- `-a SDK`: Specify which SDK number to use

Pushes the androidvncserver and wrapper lib to /data/local sets the proper permissions.

Starting the daemon

Use the vnc-daemon.sh script to control the daemon.

Options:

- `-s VAL`: Set the scale. Defaults to 100.
- `-m VAL': Choose the screen capture method, gralloc or flinger (default).

Arguments:

- `start`
- `stop`
- `restart`

Building the GUI App

It shouldn't be necessary to use the GUI app to control the daemon, but if you must, here are the steps:

Compile C daemon

In project folder:

  1. $ ndk-build
  2. $ ./updateExecsAndLibs.sh

Compile Wrapper libs

Setup:

1. `$ cd <aosp_folder>`
1. `$ . build/envsetup.sh`
1. `$ lunch`
1. `$ ln -s <droid-vnc-folder>/nativeMethods/ external/`

To build:

1. `$ cd external/nativeMethods`
1. `$ mm .`
1. `$ cd <droid-vnc-folder>`
1. `$ ./updateExecsAndLibs.sh`

Compile GUI

Use ant to build and deploy.

$ ant debug install

droid-vnc-server's People

Contributors

filmaj avatar hojel avatar jazzablues avatar lalith-b avatar mhan83 avatar onaips avatar pyromanci avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.