Top Banner
SENSING LOCATION inDecode - 17th December 2015
24

InMobi inDecode - All About Location on Mobile : Ian Anderson

Apr 12, 2017

Download

Marketing

InMobi
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: InMobi inDecode -  All About Location on Mobile : Ian Anderson

SENSING LOCATIONinDecode - 17th December 2015

Page 2: InMobi inDecode -  All About Location on Mobile : Ian Anderson

LOCATION STRATEGIES ON MOBILE DEVICES

Page 3: InMobi inDecode -  All About Location on Mobile : Ian Anderson

CHALLENGES IN DETERMINING LOCATION

• Obtaining user location from a mobile device can be complicated. There are several reasons why a location reading (regardless of the source) can contain errors and be inaccurate. Some sources of error in the user location include:

• Multitude of location sources

• GPS, Cell-ID, and Wi-Fi can each provide a clue to users location. Determining which to use and trust is a matter of trade-offs in accuracy, speed, and battery-efficiency.

• User movement

• Because the user location changes, you must account for movement by re-estimating user location every so often.

• Varying accuracy

• Location estimates coming from each location source are not consistent in their accuracy. A location obtained 10 seconds ago from one source might be more accurate than the newest location from another or same source.

http://developer.android.com/guide/topics/location/strategies.html

Page 4: InMobi inDecode -  All About Location on Mobile : Ian Anderson

SHIELD THE DEVELOPER FROM THE COMPLEXITIES INVOLVED

IN SENSING LOCATION

Page 5: InMobi inDecode -  All About Location on Mobile : Ian Anderson

ALLOW MULTIPLE APPS TO ACCESS LOCATION DATA

WITHOUT KILLING THE BATTERY

Page 6: InMobi inDecode -  All About Location on Mobile : Ian Anderson

LOCATION MANAGER

Page 7: InMobi inDecode -  All About Location on Mobile : Ian Anderson

METHODS OF SENSING LOCATION

Page 8: InMobi inDecode -  All About Location on Mobile : Ian Anderson

RADIO WAVESHow long would it take for a RF signal to travel from the moon to Earth? (Distance is approximately 400,000km)

Page 9: InMobi inDecode -  All About Location on Mobile : Ian Anderson

SPEED OF LIGHT 300,000KM/S

EVERY MILLISECOND 300KM

IS TRAVELLED

Page 10: InMobi inDecode -  All About Location on Mobile : Ian Anderson

LOCATION: GPSHow many satellites does a GPS receiver need to see in

order to determine location in 3d space?

Page 11: InMobi inDecode -  All About Location on Mobile : Ian Anderson

LOCATION: GPSHow accurate is GPS?

Page 12: InMobi inDecode -  All About Location on Mobile : Ian Anderson

LOCATION: GPSSignal reflection

Page 13: InMobi inDecode -  All About Location on Mobile : Ian Anderson

LOCATION: CELLULARFrequency reuse

Page 14: InMobi inDecode -  All About Location on Mobile : Ian Anderson

LOCATION: CELLULARFrequency Reuse

Page 15: InMobi inDecode -  All About Location on Mobile : Ian Anderson

IN DENSELY POPULATED URBAN ENVIRONMENTS WE NEED MORE SHORT RANGE

CELLS SO LOCATION ACCURACY INCREASES

Page 16: InMobi inDecode -  All About Location on Mobile : Ian Anderson

WIFI POSITIONING

Page 17: InMobi inDecode -  All About Location on Mobile : Ian Anderson

ACCURACY LINKED TO RANGE OF WIFI ACCESS

POINTSNOT SO GOOD IN THE

COUNTRYSIDE

Page 18: InMobi inDecode -  All About Location on Mobile : Ian Anderson

ANDROID

Page 19: InMobi inDecode -  All About Location on Mobile : Ian Anderson

LOCATION MANAGER

Page 20: InMobi inDecode -  All About Location on Mobile : Ian Anderson

FLOW FOR OBTAINING USER LOCATION

• Here's the typical flow of procedures for obtaining the user location:

1. Start application.

2. Sometime later, start listening for updates from desired location providers.

3. Maintain a "current best estimate" of location by filtering out new, but less accurate fixes.

4. Stop listening for location updates.

5. Take advantage of the last best location estimate.

Page 21: InMobi inDecode -  All About Location on Mobile : Ian Anderson

FLOW FOR OBTAINING USER LOCATION

Page 22: InMobi inDecode -  All About Location on Mobile : Ian Anderson

LAST KNOWN LOCATION

Page 23: InMobi inDecode -  All About Location on Mobile : Ian Anderson

CONSIDERATIONS

• What is the use case you are trying to solve for?

• How accurate do you need the location data to be?

• How soon do you need the location data?

• How often do you need the location data?

Page 24: InMobi inDecode -  All About Location on Mobile : Ian Anderson

REFERENCES

• http://developer.android.com/guide/topics/location/strategies.html

• http://developer.android.com/training/location/index.html