Top Banner
Android HTTP Service By: Eduardo Silva [email protected] Jonathan Gonzalez [email protected]
14

Android HTTP Service

Nov 22, 2014

Download

Technology

edsiper

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Android HTTP Service

Android HTTP Service

By: Eduardo Silva [email protected] Jonathan Gonzalez [email protected]

Page 2: Android HTTP Service

< 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.”

Page 3: Android HTTP Service

< Android Architecture >

Page 4: Android HTTP Service

Our proposal...

Page 5: Android HTTP Service

< Our proposal >

Add an HTTP service layer into the app framework.

Page 6: Android HTTP Service

< 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

Page 7: Android HTTP Service

< HTTP Service / Roles >

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

Page 8: Android HTTP Service

Communication Diagram

Page 9: Android HTTP Service
Page 10: Android HTTP Service

How ?

Page 11: Android HTTP Service

● 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

Page 12: Android HTTP Service

Why Monkey ?

Page 13: Android HTTP Service

…because Monkey Loves Android

Monkey Features● It's a web server designed for embedded devices● 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

Page 14: Android HTTP Service

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

Monkey Team