OW2 Consortium mobiot

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 3
Line 6... Line 6...
6
The SensorAccess app communicates with the RegistryManager to register the sensors and sensor metadata of the mobile devices.
6
The SensorAccess app communicates with the RegistryManager to register the sensors and sensor metadata of the mobile devices.
7

7

8
#Use
8
#Use
9
Deploy it on Android mobile devices (min sdk version: 19).
9
Deploy it on Android mobile devices (min sdk version: 19).
10
Use of AndroidStudio is recommended for easier built with gradle engine.
10
Use of AndroidStudio is recommended for easier built with gradle engine.
-
 
11

-
 
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)
11

18

12
#Dependencies
19
#Dependencies
13
1. Androjena <com.hp.hpl.jena> https://code.google.com/p/androjena/
20
1. Androjena <com.hp.hpl.jena> https://code.google.com/p/androjena/
14
2. JavaWebsocket <org.java_websocket> http://java-websocket.org/
21
2. JavaWebsocket <org.java_websocket> http://java-websocket.org/
15
3. JSONsimple <org.json.simple> https://code.google.com/p/json-simple/
22
3. JSONsimple <org.json.simple> https://code.google.com/p/json-simple/