Code Monkey home page Code Monkey logo

androidhttpserver's Introduction

Android HTTP Server

Multi-threaded HTTP server library for Android devices

AndroidHTTPServer is a multi-threaded HTTP web server library for Android devices, including smart phones and tablets. It is designed to be “dropped-in” to new or existing apps to rapidly add HTTP handling capabilities, and offers a flexible plugin architecture to allow apps to create their own custom HTTP serving capabilities – for example processing custom file types or handling unique programmatic responses such as reading the device’s GPS or accelerometer sensors and responding with something interesting.

GUI project which utilises the library project

Currently there are two parts of the AndroidHTTPServer project – the library project itself and the GUI project. The library project is a standard Android Library project which can be included in normal Android apps. The GUI project is an example of a normal Android app utilising the Android HTTP Server library, and demonstrates how to control the server via on-screen buttons etc and is shown in the above screen shot.

Currently Android HTTP Server is in an early state of development and should not be considered ready for “prime time”. However, as it currently stands it is able to stand-up to fairly vigorous multi-threaded benchmarking. Early testing using JMeter indicates that when running on a standard HTC Wildfire (single-core MSM7225 528MHz) device running Android 2.2.1 it can serve a small test page at approximately 700 requests/min when debugging and approximately 2000 requests/min when not debugging (based on 10 simultaneous JMeter threads – please check Test Plan.jmx for exact settings).

Sources

The GUI uses icons from the Tango Project (http://tango-project.org/) which have been placed in the public domain.

License

MIT

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.