SlideShare a Scribd company logo
1 of 33
Download to read offline
RICHARD KEEN

(Enemy of the) State of
Mobile Location Tracking
20,000 points over 232 days
15,000 miles travelled
at an average of 2.6 mph
M E T H O D S O F L O C AT I O N T R A C K I N G

• On-device sensors (GPS etc.)
• Network provider tracking
• Indoor Wi-Fi scanning
• “Smart” rubbish bins…
W H Y T R A C K D E V I C E L O C AT I O N
• Safety & security
• Logistics
• Friend finders
• Fitness
• Journaling/quantified self
• Anticipatory computing
H O W I S A L O C AT I O N D E T E R M I N E D

Accuracy

Speed

Power
consumption

GPS

~40m

Slow
(3 seconds+)

High

Rarely works
indoors

WiFi triangulation

~70m

Fast

Medium

Rarely works in
rural areas

Cell triangulation
Cell ID

200m-1km

Fast

Low

Sensor

Caveats
R E Q U E S T I N G A S I N G L E L O C AT I O N

• Even single location updates come as an

asynchronous stream – not a single final value

• Initial location is often cached and stale
• The user may be moving around as you request their

location!
A N AT O M Y O F A L O C AT I O N
• latitude
• longitude
• altitude
• accuracy (horizontal and vertical)
• speed
• bearing
• timestamp
TRACKING CHALLENGES
• Power consumption
• Multitasking/background processing support
• Privacy settings (global & per-app)
• Device reboots
• Airplane mode, Wi-Fi disabled, cellular disabled
• Testing
S TA N D A R D L O C AT I O N S E R V I C E S
• Delivers a constant stream of locations over time
• Supports background multitasking (limited on

Windows Phone)

• Power hungry with default settings
• Tracking won’t survive device reboots*
• Consider power impact of your callback code as well
S TA N D A R D L O C AT I O N S E R V I C E S
- IMPROVING POWER CONSUMPTION
• On iOS & Windows Phone, manage power usage

through location manager settings:
• desired accuracy level

• distance or time threshold between notifications –

 helps to reduce processing overhead

• iPhone 5+ & Google Nexus 5 support deferred

updates & sensor batching
S TA N D A R D L O C AT I O N S E R V I C E S
- IMPROVING POWER CONSUMPTION
iOS desiredAccuracy

Power usage

Highest power sensor

kCLLocationAccuracyBestForNavigation

High

GPS+

kCLLocationAccuracyBest

High

GPS

kCLLocationAccuracyNearestTenMeters

High

GPS

Medium (urban)
High (rural)

WiFi (urban)
GPS (rural)

kCLLocationAccuracyKilometer

Low

Cell

kCLLocationAccuracyThreeKilometers

Low

Cell

kCLLocationAccuracyHundredMeters
S TA N D A R D L O C AT I O N S E R V I C E S
- IMPROVING POWER CONSUMPTION
Accuracy

Power usage

Highest power sensor
used

Building-level

High

GPS

Block-level

Medium

WiFi

PRIORITY_LOW_POWER

City-level

Low

Cell

PRIORITY_NO_POWER

Varies

None

Varies

Android priorities

PRIORITY_HIGH_ACCURACY

PRIORITY_BALANCED_POWER	
  
_ACCURACY
S I G N I F I C A N T C H A N G E N O T I F I C AT I O N S
• Only available on iOS
• Low power overhead, relies on cell tower transitions
• On average notification triggered after a movement of

around 500m and more than 5 minutes

• Survives reboots of the device
• Very useful in hybrid strategies
GEOFENCES
!

• Geofence is a region defined by a co-ordinate and

radius (in this context)

• Can request background notification of entry or exit of

the region (& dwelling on Android)
A

B
EXIT A
ENTER B
G E O F E N C E L I M I TAT I O N S

• Often quite a lag, doesn’t always trigger
• Not available on Windows Phone
• iOS supports up to 20 per app, Android up to 100
• Survives reboots on iOS, not on Android
H Y B R I D S T R AT E G I E S

Your app will have unique tracking needs; the default
strategies are rarely the most appropriate
!

Find the ideal balance of quality, power use, granularity
and frequency for your app
AN ASIDE: APPLE M7 & SIMILAR
• iPhone 5S shipped with Apple M7 “motion co-

processor”

• Does not relate to location data
• Google Nexus 5 and Moto X ship with “hardware

sensor batching” – equivalent functionality

• Currently provides step counting & activity detection
TOOLS

• Profiling tools allow you to monitor use of GPS over

time

• For iOS use Instruments, untethered capture

supported via iPhone settings

• For Android use Qualcomm Trepn plugin for Eclipse
BLUETOOTH BEACONS

• “iBeacon” – Apple specification for Bluetooth 4

location beacons

• Indoor high-accuracy location triggers
• Indoor positioning
• Opt-in via install of app tied to iBeacon namespace
THANKS!
@richardkeen
richard.keen@gmail.com

iOS reference: http://bit.ly/19O9PZS
Android reference: http://bit.ly/18mMnSX
Windows Phone reference: http://bit.ly/1aJu6y8

More Related Content

What's hot

Privacy Policies Change Management for Smartphones
Privacy Policies Change Management for SmartphonesPrivacy Policies Change Management for Smartphones
Privacy Policies Change Management for SmartphonesDebmalya Biswas
 
Spock Glove: Nasa Space Apps Challenge Pitch
Spock Glove: Nasa Space Apps Challenge PitchSpock Glove: Nasa Space Apps Challenge Pitch
Spock Glove: Nasa Space Apps Challenge PitchArjit Sachdeva
 
"Achieving High-Performance Vision Processing for Embedded Applications with ...
"Achieving High-Performance Vision Processing for Embedded Applications with ..."Achieving High-Performance Vision Processing for Embedded Applications with ...
"Achieving High-Performance Vision Processing for Embedded Applications with ...Edge AI and Vision Alliance
 
Track 4 session 8 - st dev con 2016 - time of flight
Track 4   session 8 - st dev con 2016 - time of flightTrack 4   session 8 - st dev con 2016 - time of flight
Track 4 session 8 - st dev con 2016 - time of flightST_World
 
HCI: Internet-Enabled TV Remote Control
HCI: Internet-Enabled TV Remote ControlHCI: Internet-Enabled TV Remote Control
HCI: Internet-Enabled TV Remote Controlodlozano
 
NEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATIONNEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATIONHarisankar U K
 
Smartphones and Earthquakes - A System Design Presentation
Smartphones and Earthquakes - A System Design PresentationSmartphones and Earthquakes - A System Design Presentation
Smartphones and Earthquakes - A System Design PresentationPratyush Pandab
 
Programmable Remotely Time Controlled
Programmable Remotely Time ControlledProgrammable Remotely Time Controlled
Programmable Remotely Time Controlledlionkingage
 
#20 SUSB Expo 2014 The Art and Science of Unmanned Systems
#20 SUSB Expo 2014 The Art and Science of Unmanned Systems#20 SUSB Expo 2014 The Art and Science of Unmanned Systems
#20 SUSB Expo 2014 The Art and Science of Unmanned SystemssUAS News
 
Why do we all need to use CheckFox and what’s so Sigfox special about it?
Why do we all need to use CheckFox and what’s so Sigfox special about it?Why do we all need to use CheckFox and what’s so Sigfox special about it?
Why do we all need to use CheckFox and what’s so Sigfox special about it?Simple Hardware
 

What's hot (17)

Air quality monitor as510
Air quality monitor   as510Air quality monitor   as510
Air quality monitor as510
 
Privacy Policies Change Management for Smartphones
Privacy Policies Change Management for SmartphonesPrivacy Policies Change Management for Smartphones
Privacy Policies Change Management for Smartphones
 
SMARTHOME
SMARTHOMESMARTHOME
SMARTHOME
 
Spock Glove: Nasa Space Apps Challenge Pitch
Spock Glove: Nasa Space Apps Challenge PitchSpock Glove: Nasa Space Apps Challenge Pitch
Spock Glove: Nasa Space Apps Challenge Pitch
 
Light-Up Skateboard
Light-Up SkateboardLight-Up Skateboard
Light-Up Skateboard
 
GloPos Positioning Technology
GloPos Positioning TechnologyGloPos Positioning Technology
GloPos Positioning Technology
 
"Achieving High-Performance Vision Processing for Embedded Applications with ...
"Achieving High-Performance Vision Processing for Embedded Applications with ..."Achieving High-Performance Vision Processing for Embedded Applications with ...
"Achieving High-Performance Vision Processing for Embedded Applications with ...
 
Track 4 session 8 - st dev con 2016 - time of flight
Track 4   session 8 - st dev con 2016 - time of flightTrack 4   session 8 - st dev con 2016 - time of flight
Track 4 session 8 - st dev con 2016 - time of flight
 
HCI: Internet-Enabled TV Remote Control
HCI: Internet-Enabled TV Remote ControlHCI: Internet-Enabled TV Remote Control
HCI: Internet-Enabled TV Remote Control
 
Robotic 11-26-14
Robotic 11-26-14Robotic 11-26-14
Robotic 11-26-14
 
NEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATIONNEAR FIELD COMMUNICATION
NEAR FIELD COMMUNICATION
 
Smartphones and Earthquakes - A System Design Presentation
Smartphones and Earthquakes - A System Design PresentationSmartphones and Earthquakes - A System Design Presentation
Smartphones and Earthquakes - A System Design Presentation
 
Smart control v3
Smart control v3Smart control v3
Smart control v3
 
SOLDIER’S E - JACKET
SOLDIER’S E - JACKETSOLDIER’S E - JACKET
SOLDIER’S E - JACKET
 
Programmable Remotely Time Controlled
Programmable Remotely Time ControlledProgrammable Remotely Time Controlled
Programmable Remotely Time Controlled
 
#20 SUSB Expo 2014 The Art and Science of Unmanned Systems
#20 SUSB Expo 2014 The Art and Science of Unmanned Systems#20 SUSB Expo 2014 The Art and Science of Unmanned Systems
#20 SUSB Expo 2014 The Art and Science of Unmanned Systems
 
Why do we all need to use CheckFox and what’s so Sigfox special about it?
Why do we all need to use CheckFox and what’s so Sigfox special about it?Why do we all need to use CheckFox and what’s so Sigfox special about it?
Why do we all need to use CheckFox and what’s so Sigfox special about it?
 

Viewers also liked

Decorator
DecoratorDecorator
Decoratorukst
 
Amc presentation new
Amc presentation newAmc presentation new
Amc presentation newDanura Aditya
 
03 fjm (邱浩彰,胡翠貞) 藥物經濟學簡介
03 fjm (邱浩彰,胡翠貞) 藥物經濟學簡介03 fjm (邱浩彰,胡翠貞) 藥物經濟學簡介
03 fjm (邱浩彰,胡翠貞) 藥物經濟學簡介hu0800
 
andra pradesh State capital, planned world capitals
andra pradesh State capital, planned world capitalsandra pradesh State capital, planned world capitals
andra pradesh State capital, planned world capitalsHAri Krishna
 
Handelbi voorstelling 2013
Handelbi voorstelling 2013Handelbi voorstelling 2013
Handelbi voorstelling 2013tinneverbruggen
 
Business Process Managmenet & Intelligent BPM Suites
Business Process Managmenet & Intelligent BPM SuitesBusiness Process Managmenet & Intelligent BPM Suites
Business Process Managmenet & Intelligent BPM Suitesshyjusr
 

Viewers also liked (7)

Decorator
DecoratorDecorator
Decorator
 
Amc presentation new
Amc presentation newAmc presentation new
Amc presentation new
 
03 fjm (邱浩彰,胡翠貞) 藥物經濟學簡介
03 fjm (邱浩彰,胡翠貞) 藥物經濟學簡介03 fjm (邱浩彰,胡翠貞) 藥物經濟學簡介
03 fjm (邱浩彰,胡翠貞) 藥物經濟學簡介
 
Q7 ppttttttt
Q7 pptttttttQ7 ppttttttt
Q7 ppttttttt
 
andra pradesh State capital, planned world capitals
andra pradesh State capital, planned world capitalsandra pradesh State capital, planned world capitals
andra pradesh State capital, planned world capitals
 
Handelbi voorstelling 2013
Handelbi voorstelling 2013Handelbi voorstelling 2013
Handelbi voorstelling 2013
 
Business Process Managmenet & Intelligent BPM Suites
Business Process Managmenet & Intelligent BPM SuitesBusiness Process Managmenet & Intelligent BPM Suites
Business Process Managmenet & Intelligent BPM Suites
 

Similar to Enemy of the) State of Mobile Location Tracking by @richardkeen

ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介
ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介
ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介ShinsukeAiki1
 
Internal and external positioning in mobile and web applications
Internal and external positioning in mobile and web applicationsInternal and external positioning in mobile and web applications
Internal and external positioning in mobile and web applicationsDejan Radic
 
Internet of Things (IoT): Micro-location and Smart Buildings
Internet of Things (IoT): Micro-location and Smart BuildingsInternet of Things (IoT): Micro-location and Smart Buildings
Internet of Things (IoT): Micro-location and Smart BuildingsFaheem Zafari
 
Raw GNSS Measurements under Android : Data Quality Analysis
Raw GNSS Measurements under Android : Data Quality AnalysisRaw GNSS Measurements under Android : Data Quality Analysis
Raw GNSS Measurements under Android : Data Quality AnalysisThe European GNSS Agency (GSA)
 
Leica GG04 and ZRover
Leica GG04 and ZRoverLeica GG04 and ZRover
Leica GG04 and ZRoverKendall James
 
Short primer on tracking organs for transplants by tom starr march 8, 2011
Short primer on tracking organs for transplants by tom starr march 8, 2011Short primer on tracking organs for transplants by tom starr march 8, 2011
Short primer on tracking organs for transplants by tom starr march 8, 2011Thomas Starr
 
Indoor navigation system
Indoor navigation systemIndoor navigation system
Indoor navigation systemOmkar Paranjape
 
RSS and Sensor Fusion Algorithms for Indoor Location Systems on Smartphones
RSS and Sensor Fusion Algorithms for Indoor Location Systems on SmartphonesRSS and Sensor Fusion Algorithms for Indoor Location Systems on Smartphones
RSS and Sensor Fusion Algorithms for Indoor Location Systems on SmartphonesUOC Universitat Oberta de Catalunya
 
Near field communication
Near field communicationNear field communication
Near field communicationdivyasolanki101
 
ARDUINO BASED HAND GESTURE CONTROL OF COMPUTER (3).pptx
ARDUINO BASED HAND GESTURE CONTROL OF COMPUTER (3).pptxARDUINO BASED HAND GESTURE CONTROL OF COMPUTER (3).pptx
ARDUINO BASED HAND GESTURE CONTROL OF COMPUTER (3).pptxravikumar89386
 
PLNOG15: Find the location of your superhero with 802.11 - Sebastian Pasternacki
PLNOG15: Find the location of your superhero with 802.11 - Sebastian PasternackiPLNOG15: Find the location of your superhero with 802.11 - Sebastian Pasternacki
PLNOG15: Find the location of your superhero with 802.11 - Sebastian PasternackiPROIDEA
 
Real-time, Sensor-based Monitoring of Shipping Containers
Real-time, Sensor-based Monitoring of Shipping ContainersReal-time, Sensor-based Monitoring of Shipping Containers
Real-time, Sensor-based Monitoring of Shipping Containersbenaam
 
Mobile devices hardware characteristics
Mobile devices hardware characteristicsMobile devices hardware characteristics
Mobile devices hardware characteristicsHectorMolarGamboa
 
Arduino Blind Aid
Arduino Blind AidArduino Blind Aid
Arduino Blind AidRohithND
 

Similar to Enemy of the) State of Mobile Location Tracking by @richardkeen (20)

ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介
ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介
ハイブリッドLoRa-BLEモジュールとTTN対応キャリアグレードLoRaWANゲートウェイの紹介
 
Internal and external positioning in mobile and web applications
Internal and external positioning in mobile and web applicationsInternal and external positioning in mobile and web applications
Internal and external positioning in mobile and web applications
 
Sensor's inside
Sensor's insideSensor's inside
Sensor's inside
 
High-Accuracy GPS for GIS: From 1ft to 4in.
High-Accuracy GPS for GIS: From 1ft to 4in.High-Accuracy GPS for GIS: From 1ft to 4in.
High-Accuracy GPS for GIS: From 1ft to 4in.
 
Internet of Things (IoT): Micro-location and Smart Buildings
Internet of Things (IoT): Micro-location and Smart BuildingsInternet of Things (IoT): Micro-location and Smart Buildings
Internet of Things (IoT): Micro-location and Smart Buildings
 
Indoor Navigation
Indoor NavigationIndoor Navigation
Indoor Navigation
 
Raw GNSS Measurements under Android : Data Quality Analysis
Raw GNSS Measurements under Android : Data Quality AnalysisRaw GNSS Measurements under Android : Data Quality Analysis
Raw GNSS Measurements under Android : Data Quality Analysis
 
Leica GG04 and ZRover
Leica GG04 and ZRoverLeica GG04 and ZRover
Leica GG04 and ZRover
 
Short primer on tracking organs for transplants by tom starr march 8, 2011
Short primer on tracking organs for transplants by tom starr march 8, 2011Short primer on tracking organs for transplants by tom starr march 8, 2011
Short primer on tracking organs for transplants by tom starr march 8, 2011
 
Indoor navigation system
Indoor navigation systemIndoor navigation system
Indoor navigation system
 
RSS and Sensor Fusion Algorithms for Indoor Location Systems on Smartphones
RSS and Sensor Fusion Algorithms for Indoor Location Systems on SmartphonesRSS and Sensor Fusion Algorithms for Indoor Location Systems on Smartphones
RSS and Sensor Fusion Algorithms for Indoor Location Systems on Smartphones
 
Near field communication
Near field communicationNear field communication
Near field communication
 
ARDUINO BASED HAND GESTURE CONTROL OF COMPUTER (3).pptx
ARDUINO BASED HAND GESTURE CONTROL OF COMPUTER (3).pptxARDUINO BASED HAND GESTURE CONTROL OF COMPUTER (3).pptx
ARDUINO BASED HAND GESTURE CONTROL OF COMPUTER (3).pptx
 
PLNOG15: Find the location of your superhero with 802.11 - Sebastian Pasternacki
PLNOG15: Find the location of your superhero with 802.11 - Sebastian PasternackiPLNOG15: Find the location of your superhero with 802.11 - Sebastian Pasternacki
PLNOG15: Find the location of your superhero with 802.11 - Sebastian Pasternacki
 
Insite deck
Insite deckInsite deck
Insite deck
 
Real-time, Sensor-based Monitoring of Shipping Containers
Real-time, Sensor-based Monitoring of Shipping ContainersReal-time, Sensor-based Monitoring of Shipping Containers
Real-time, Sensor-based Monitoring of Shipping Containers
 
Sun SPOTs by Ritter
Sun SPOTs by RitterSun SPOTs by Ritter
Sun SPOTs by Ritter
 
Sniffer ppt
Sniffer pptSniffer ppt
Sniffer ppt
 
Mobile devices hardware characteristics
Mobile devices hardware characteristicsMobile devices hardware characteristics
Mobile devices hardware characteristics
 
Arduino Blind Aid
Arduino Blind AidArduino Blind Aid
Arduino Blind Aid
 

Recently uploaded

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 

Recently uploaded (20)

DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 

Enemy of the) State of Mobile Location Tracking by @richardkeen

  • 1. RICHARD KEEN (Enemy of the) State of Mobile Location Tracking
  • 2.
  • 3. 20,000 points over 232 days 15,000 miles travelled at an average of 2.6 mph
  • 4.
  • 5. M E T H O D S O F L O C AT I O N T R A C K I N G • On-device sensors (GPS etc.) • Network provider tracking • Indoor Wi-Fi scanning • “Smart” rubbish bins…
  • 6.
  • 7. W H Y T R A C K D E V I C E L O C AT I O N • Safety & security • Logistics • Friend finders • Fitness • Journaling/quantified self • Anticipatory computing
  • 8. H O W I S A L O C AT I O N D E T E R M I N E D Accuracy Speed Power consumption GPS ~40m Slow (3 seconds+) High Rarely works indoors WiFi triangulation ~70m Fast Medium Rarely works in rural areas Cell triangulation Cell ID 200m-1km Fast Low Sensor Caveats
  • 9. R E Q U E S T I N G A S I N G L E L O C AT I O N • Even single location updates come as an asynchronous stream – not a single final value • Initial location is often cached and stale • The user may be moving around as you request their location!
  • 10. A N AT O M Y O F A L O C AT I O N • latitude • longitude • altitude • accuracy (horizontal and vertical) • speed • bearing • timestamp
  • 11.
  • 12. TRACKING CHALLENGES • Power consumption • Multitasking/background processing support • Privacy settings (global & per-app) • Device reboots • Airplane mode, Wi-Fi disabled, cellular disabled • Testing
  • 13. S TA N D A R D L O C AT I O N S E R V I C E S • Delivers a constant stream of locations over time • Supports background multitasking (limited on Windows Phone) • Power hungry with default settings • Tracking won’t survive device reboots* • Consider power impact of your callback code as well
  • 14. S TA N D A R D L O C AT I O N S E R V I C E S - IMPROVING POWER CONSUMPTION • On iOS & Windows Phone, manage power usage through location manager settings: • desired accuracy level • distance or time threshold between notifications –  helps to reduce processing overhead • iPhone 5+ & Google Nexus 5 support deferred updates & sensor batching
  • 15. S TA N D A R D L O C AT I O N S E R V I C E S - IMPROVING POWER CONSUMPTION iOS desiredAccuracy Power usage Highest power sensor kCLLocationAccuracyBestForNavigation High GPS+ kCLLocationAccuracyBest High GPS kCLLocationAccuracyNearestTenMeters High GPS Medium (urban) High (rural) WiFi (urban) GPS (rural) kCLLocationAccuracyKilometer Low Cell kCLLocationAccuracyThreeKilometers Low Cell kCLLocationAccuracyHundredMeters
  • 16. S TA N D A R D L O C AT I O N S E R V I C E S - IMPROVING POWER CONSUMPTION Accuracy Power usage Highest power sensor used Building-level High GPS Block-level Medium WiFi PRIORITY_LOW_POWER City-level Low Cell PRIORITY_NO_POWER Varies None Varies Android priorities PRIORITY_HIGH_ACCURACY PRIORITY_BALANCED_POWER   _ACCURACY
  • 17.
  • 18. S I G N I F I C A N T C H A N G E N O T I F I C AT I O N S • Only available on iOS • Low power overhead, relies on cell tower transitions • On average notification triggered after a movement of around 500m and more than 5 minutes • Survives reboots of the device • Very useful in hybrid strategies
  • 19.
  • 20.
  • 21. GEOFENCES ! • Geofence is a region defined by a co-ordinate and radius (in this context) • Can request background notification of entry or exit of the region (& dwelling on Android)
  • 22. A B
  • 23.
  • 26. G E O F E N C E L I M I TAT I O N S • Often quite a lag, doesn’t always trigger • Not available on Windows Phone • iOS supports up to 20 per app, Android up to 100 • Survives reboots on iOS, not on Android
  • 27. H Y B R I D S T R AT E G I E S Your app will have unique tracking needs; the default strategies are rarely the most appropriate ! Find the ideal balance of quality, power use, granularity and frequency for your app
  • 28. AN ASIDE: APPLE M7 & SIMILAR • iPhone 5S shipped with Apple M7 “motion co- processor” • Does not relate to location data • Google Nexus 5 and Moto X ship with “hardware sensor batching” – equivalent functionality • Currently provides step counting & activity detection
  • 29. TOOLS • Profiling tools allow you to monitor use of GPS over time • For iOS use Instruments, untethered capture supported via iPhone settings • For Android use Qualcomm Trepn plugin for Eclipse
  • 30.
  • 31.
  • 32. BLUETOOTH BEACONS • “iBeacon” – Apple specification for Bluetooth 4 location beacons • Indoor high-accuracy location triggers • Indoor positioning • Opt-in via install of app tied to iBeacon namespace
  • 33. THANKS! @richardkeen richard.keen@gmail.com iOS reference: http://bit.ly/19O9PZS Android reference: http://bit.ly/18mMnSX Windows Phone reference: http://bit.ly/1aJu6y8