Android Sensing Tutorial Hasan Faik Alan 9/7/2017 Example Android - - PowerPoint PPT Presentation

android sensing tutorial
SMART_READER_LITE
LIVE PREVIEW

Android Sensing Tutorial Hasan Faik Alan 9/7/2017 Example Android - - PowerPoint PPT Presentation

Android Sensing Tutorial Hasan Faik Alan 9/7/2017 Example Android Device CPU : Quad-core 2.5 GHz Krait 400 GPU : Adreno 330 Development - Getting Started http://developer.android.com/develop/ Development - Getting Started


slide-1
SLIDE 1

Android Sensing Tutorial

Hasan Faik Alan

9/7/2017

slide-2
SLIDE 2

Example Android Device

CPU : Quad-core 2.5 GHz Krait 400 GPU : Adreno 330

slide-3
SLIDE 3

Development - Getting Started

http://developer.android.com/develop/

slide-4
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
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
SLIDE 6

Android Sensor API

http://developer.android.com/reference/android/hardware/SensorManager.html

slide-7
SLIDE 7

Sensor Coordinate System

http://developer.android.com/guide/topics/sensors/sensors_overview.html#sensors-coords

slide-8
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
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
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
SLIDE 11

Accelerometer

At rest

slide-12
SLIDE 12

Accelerometer

Rotation around y axis

slide-13
SLIDE 13

Accelerometer

Physical Activity Level Inference

slide-14
SLIDE 14

Example Applications

Sensor Log WiFi Indoor Localization

slide-15
SLIDE 15

Activity Recognition Study

slide-16
SLIDE 16

Activity Recognition Study

slide-17
SLIDE 17

Activity Recognition Study

Running

slide-18
SLIDE 18

In Vehicle

Activity Recognition Study

slide-19
SLIDE 19

Activity Recognition Study

Walking Running In Vehicle

slide-20
SLIDE 20

Android “DetectedActivity” API

https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity

slide-21
SLIDE 21

WiFi Localization Study

slide-22
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
SLIDE 23

WiFi Localization Study

WiFi Fingerprints

slide-24
SLIDE 24

WiFi Localization Study

slide-25
SLIDE 25
slide-26
SLIDE 26
slide-27
SLIDE 27
slide-28
SLIDE 28

WiFi Indoor Localization

WiFi Indoor Localization

slide-29
SLIDE 29

WiFi Indoor Localization

slide-30
SLIDE 30

WiFi Indoor Localization

slide-31
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
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
SLIDE 33

Questions?

Thank you.