AndroidHTTP ServiceBy: Eduardo Silva email@example.com Jonathan Gonzalez firstname.lastname@example.org
< Goal > “Empower Android devices with an HTTP Service layer where applications and framework components can expose their own HTTP Service through an unique low level component.”
< Android Architecture >
< Our proposal >Add an HTTPservice layerinto the appframework.
< 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
● HTTP Service application written in Java compliant with Dalvik virtual machine, it exports com.android.http_service.*● Instance Monkey HTTP Daemon (web server)● How Instances and HTTP Service talk ? Through Monkey plugin + unix sockets
Why Monkey ?
…because Monkey Loves AndroidMonkey Features● Its a web server designed for embedded devices● Its asynchronous, events oriented● It has a flexible Plugin interface (API)● Its binary size is only 55 KB● Its very very fast
We expect to implement thisHTTP layer through GsoC 2011,this is a really good improvement! Monkey Team