Produced by Department of Computing & Mathematics Waterford Institute of Technology Mobile Application Development David Drohan ( [email protected] )
Location & Geocoding Android Google Services Part 2 Google Services - Part 2 2
Google Services Overview 3 Google Services - Part 2 ❑ Overview of Google Play Services and Setup ❑ Detailed look at ■ Google+ Sign-in and Authentication (Part 1) ■ Location & Geocoding (Part 2) ■ Google Maps (Part 3)
Google Services Overview 4 Google Services - Part 2 ❑ Detailed look at ■ Location & Geocoding (Part 2)
Agenda * ❑ Finding your Location with Location-Based Services (LBS) & the Fused Location Provider ❑ Overview of GeoFencing & Activitiy Recognition Google Services - Part 2 5
Introduction ❑ One of the defining features of mobile phones is their portability, so it’s not surprising that some of the most enticing Android features are the services that let you find, contextualize, and map physical locations ■ Using Location-Based Services / Fused Location Provider ⬥ you can find the device’s current location (GPS, Network Provider etc.) ⬥ send notifications when the device’s location is ‘near’ some other location, (via proximity alerts or GeoFencing) ■ Using Google Maps (Part 3) you can ⬥ create map-based Activities as a UI element with full access, allowing you to zoom in/out/pan, control display settings etc. ⬥ using Markers, you can annotate the map and handle touch/tap events Google Services - Part 2 6
Overview of Location-Based Services ❑ Location-based services use real-time location data from a mobile device or smartphone to provide information, entertainment, or security. ❑ Location-Based services are available on most smartphones, and a majority of smartphone owners use location-based services. ❑ Many popular applications integrate location-based services. Examples include ■ Google Maps, TripAdvisor, Starbucks, The Weather Channel, Navigation, Facebook Places, CoffeeMate J Google Services - Part 2 7
Overview of Location Providers ❑ GPS is accurate, but ■ it only works outdoors ■ it quickly consumes battery power ■ it doesn't return the location quickly ❑ Android’s Network (Fused) Location Provider determines user location using Cell Towers and Wi-Fi signals. It is less accurate than GPS, but ■ it works indoors and outdoors ■ it responds faster ■ and it uses less battery power Google Services - Part 2 8
The Fused Location Provider ❑ The location APIs in Google Play services contains a fused location provider ❑ The fused location provider manages the underlying location technology and provides a simple API that ■ allows you to specify requirements at a high level, like high accuracy or low power ■ optimizes the device’s use of battery power Google Services - Part 2 9
Fused Location Provider ❑ The goal of Fused Location Provider (‘Fused’) is to lessen the workload of developers who want to interact with location information ❑ Provides a single programmable interface ❑
You've reached the end of your free preview.
Want to read all 73 pages?
- Fall '14
- Geographic coordinate system, Google services