Android & Monkey Web Services

Post on 22-Nov-2014

3,409 views 2 download

description

Proposal for web services improvement on Android software stack using Monkey HTTP Daemon

transcript

Android

By: Eduardo Silva edsiper@monkey-project.com Jonathan Gonzalez zeus@monkey-project.com

Lightweight Web Services with Monkey

< Goal >

“Empower Android devices with an HTTP Service layer where applications and framework components can expose their own web services through a lightweight low level component.”

< Android Architecture >

Our proposal...

< Our proposal >

Add an HTTP service layer into the app framework.

< Terms used >

● Instance = web server process

● Requester = any SW component that request to own a service

● Service = Unique URI address used to identify communication with a requesters : e.g: http://192.168.1.1/STATUS

< HTTP Service / Roles >

● Handle web server instances● Register services for requesters● Proxy web server communication

Communication Diagram

How ?

● HTTP Service application written in Java compliant with Dalvik virtual machine, it exports com.android.http_service.* ● Web Services Instance Monkey HTTP Daemon (web server)

● How Instances and HTTP Service talk ? Through Monkey Duda interface

Why Monkey ?

…because Monkey Loves Android

Monkey Features● web server designed for embedded devices (ARM)● It's asynchronous, events oriented● It has a flexible Plugin interface (API)● It's binary size is only 55 KB● It's very very fast

We expect to implement this HTTP layer through GsoC 2012, this is a really good improvement!

Monkey Team