1 / 12

GPS Solution On Android

GPS Solution On Android. --- Ding, Liao. Location Providers for Android. GPS Provider: GPS signal Network Location Provider : Cell ID Wi-Fi . Location Providers for Android. GPS: Advantage: Most accurate Disadvantage: Only available outside More power consuming

armani
Download Presentation

GPS Solution On Android

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. GPS Solution On Android --- Ding, Liao

  2. Location Providers for Android GPS Provider: • GPS signal Network Location Provider: • Cell ID • Wi-Fi

  3. Location Providers for Android GPS: Advantage: • Most accurate Disadvantage: • Only available outside • More power consuming • Not quick as user want

  4. Location Providers for Android Network Provider: Advantage: • Works both indoor and outdoor • Response faster • Less power consuming Disadvantage: • Less accurate

  5. Pic1.Android devices power consuming

  6. Challenges in Determining User Location • Multitude of Location Resources 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 Movements 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.

  7. Flow for Obtain User Location on Android • Start application. • Sometime later, start listening for updates from desired location providers. • Maintain a "current best estimate" of location by filtering out new, but less accurate fixes. • Stop listening for location updates. • Take advantage of the last best location estimate.

  8. Pic2. Flow for Obtain User Location on Android

  9. Maintaining A Current Best Estimate The Typical Flow to Validate the Accurate: • Check if the location retrieved is significantly newer than the previous estimate. • Check if the accuracy claimed by the location is better or worse than the previous estimate. • Check which provider the new location is from and determine if you trust it more.

  10. Solution to Save Battery • Reduce the size of the window A smaller window in which you listen for location updates means less interaction with GPS and network location services • Set the location providers to return updates less frequently Reducing the rate at which new updates appear during the window can also improve battery efficiency, but at the cost of accuracy • Restrict a set of providers Depending on the environment where application is used or the desired level of accuracy, might choose to use only the Network Location Provider or only GPS, instead of both. I

  11. PS • Accuracy for Location: The documentation on getAccuracy() says that it returns the accuracy in meters. That this means if you get a return value of 60 you are somewhere in a circle with a 60 meter radius around the supplied position.

  12. THANKS !!!

More Related