Giter Club home page Giter Club logo

android-xserver's Introduction

Android X11 X-Server

An X11 X-Server written in Java


Get it on Google Play

This project implements an X11 server for use with Android devices, written in Java. The X11 server runs within an Android View subclass, allowing it to be embedded in other applications. This implementation has proven to be very useful for porting C++ FLTK applications to Android.

This project also includes a simple demo application.

Quick Start

To display programs within the X-Server demo app you need to set the DISPLAY environment variable on your host device. Its also highly recommended to use a window manager (i.e. lwm). A simple window manager (FLWM) is already embedded into the application. For an extended softkeyboard Hacker's Keyboard can be used.

Build

Gradle

This project uses gradle build system, so if you don't want to mess with Android Studio you can just open console at project's root folder and type ./gradlew build. Generated APK can be found under demo/build/outputs/.

Manual (Makefile based)

If, for whatever reason, you do not want to use gardle, there is also a Makefile that performs all the necessary build steps.

Example

Starts xfe file browser, 192.178.1.2 should be replaced with te IP of your device:

$ export DISPLAY=192.178.1.2:0
$ lwm &
$ xfe

In addition to the touch screen, the volume rocker acts as mouse buttons.

About

Forked from: https://github.com/mattkwan-zz/android-xserver

Daniel Giritzer, 2020 (https://page.nwrk.biz/giri)

android-xserver's People

Contributors

nwrkbiz avatar mattkwan avatar sumitomohiko avatar utzcoz avatar izzysoft avatar aelmahmoudy 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.