SLIDE 1 Android Sensing Tutorial
Hasan Faik Alan
9/7/2017
SLIDE 2 Example Android Device
CPU : Quad-core 2.5 GHz Krait 400 GPU : Adreno 330
SLIDE 3
Development - Getting Started
http://developer.android.com/develop/
SLIDE 4 Development - Getting Started
- Download Android SDK
- Create “Hello, World!” application
- Get an Android Device
- Sign up for a developer account
http://developer.android.com/develop/
SLIDE 5 Android Sensing
Funf Journal: Android Data Collection App http://www.funf.org/
- Extensible: can be extended to collect any
information that Android OS allows to access
- Collected data are stored in SQLite databases
- Sensitive data (e.g., phone numbers, text
messages) are hashed before storing them
SLIDE 6 Android Sensor API
http://developer.android.com/reference/android/hardware/SensorManager.html
SLIDE 7 Sensor Coordinate System
http://developer.android.com/guide/topics/sensors/sensors_overview.html#sensors-coords
SLIDE 8 Example Sensor Data
1|MPU6500 Acceleration Sensor| [-1.6741456,9.370906,2.6886885]|1441670212915 1|AK09911C Magnetic field Sensor| [16.86,-64.26,-62.7]|1441670213400 1|MPU6500 Gyroscope Sensor| [-0.02263687,-0.016777916,-0.008788432]|1441670213508
SLIDE 9 Example Sensor Data - GPS
{ "mProvider": "fused", "mLatitude": 40.748431, "mLongitude": 73.985741, "mTime": 1441575797954, "mAccuracy": 29.0, "mAltitude": 83.0, "mSpeed": 0.0, "mBearing": 0.0, ... }
SLIDE 10
Example Sensor Data - WiFi
{ "BSSID": "00:21:6c:87:02:d1", "SSID": "eduroam", "capabilities": "[WPA2-EAP-CCMP]", "frequency": 2462, "level": -82 }
SLIDE 11
Accelerometer
At rest
SLIDE 12
Accelerometer
Rotation around y axis
SLIDE 13
Accelerometer
Physical Activity Level Inference
SLIDE 14 Example Applications
Sensor Log WiFi Indoor Localization
SLIDE 15
Activity Recognition Study
SLIDE 16
Activity Recognition Study
SLIDE 17
Activity Recognition Study
Running
SLIDE 18
In Vehicle
Activity Recognition Study
SLIDE 19 Activity Recognition Study
Walking Running In Vehicle
SLIDE 20 Android “DetectedActivity” API
https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity
SLIDE 21
WiFi Localization Study
SLIDE 22
Example WiFi Scan Data
{ "BSSID":"00:21:6c:87:02:d1", "SSID":"eduroam", "capabilities":"[WPA2-EAP-CCMP]", "frequency":2462, "level":-82 }
SLIDE 23
WiFi Localization Study
WiFi Fingerprints
SLIDE 24
WiFi Localization Study
SLIDE 25
SLIDE 26
SLIDE 27
SLIDE 28 WiFi Indoor Localization
WiFi Indoor Localization
SLIDE 29
WiFi Indoor Localization
SLIDE 30
WiFi Indoor Localization
SLIDE 31
Crowdsourced WiFi/GSM Databases http://opencellid.org/
"OpenCelliD aims to document all Cell Towers and WiFi APs around the world along with their locations. This database of Cell Towers is built by the community and is free available for download or use via an API."
SLIDE 32
Crowdsourced WiFi/GSM Databases http://opensignal.com/
"We produce coverage maps for mobile operators in over 200 countries based on data crowdsourced from millions of users of the OpenSignal"
SLIDE 33
Questions?
Thank you.