OW2 Consortium mobiot

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 mathioud 1
SensorAccess
2
============
3
 
4
Android app used to manage the sensors on mobile devices. The collected sensor data from the devices are exposed using a RESTful API.
5
 
6
The SensorAccess app communicates with the RegistryManager to register the sensors and sensor metadata of the mobile devices.
7
 
8
#Use
9
Deploy it on Android mobile devices (min sdk version: 19).
10
Use of AndroidStudio is recommended for easier built with gradle engine.
11
 
3 mathioud 12
#API
13
Get sensor value¤â:
14
1. Get noise level: 			[GET] http://{deviceIP}/getnoiselevel
15
2. Get geo-location: 			[GET] http://{deviceIP}/getlocation
16
3. Get extended geo-location: 	[GET] http://{deviceIP}/getextendedlocation
17
4. Push message to device 		[POST] http://{deviceIP}//pushmessage (include text in the body of the message)
18
 
2 mathioud 19
#Dependencies
20
1. Androjena <com.hp.hpl.jena> https://code.google.com/p/androjena/
21
2. JavaWebsocket <org.java_websocket> http://java-websocket.org/
22
3. JSONsimple <org.json.simple> https://code.google.com/p/json-simple/
23
4. Apache Lucene <org.apache.lucene> http://lucene.apache.org/core/
24
5. Restlet <org.restlet> http://restlet.com/