You are on page 1of 2

Location APIs

The location APIs make it easy for you to build location-aware applications, without needing to focus on the details of the underlying location technology. They also let you minimize power consumption by using all of the capabilities of the device hardware. To get started, first set up the oogle Play services !"#. $ou can learn how to use the APIs in the training class %aking $our App &ocation Aware, and details are available in the &ocation API reference.

Key Developer Features
Fused location provider The 'used &ocation Provider intelligently manages the underlying location technology and gives you the best location according to your needs.
• • •

Simple APIs( &ets you specify high-level needs like )high accuracy) or )low power), instead of having to worry about location providers. Immediately available( ives your apps immediate access to the best, most recent location. Power-efficiency( %inimizes your app*s use of power. +ased on all incoming location re,uests and available sensors, fused location provider chooses the most efficient way to meet those needs. Versatility( %eets a wide range of needs, from foreground uses that need highly accurate location to background uses that need periodic location updates with negligible power impact.

Geofencing APIs

ust the amount of location awareness they provide. based on the current user movement. driving. see the 6ontent &icense.uent updates when the user is driving. Activity recognition 2ith apps becoming increasingly conte-tual. cycling. and so on1. and in-vehicle3with very efficient use of the battery. 'or details and restrictions. It also includes two activities that indicate unreliable measurements( unknown and tilt. The Activity recognition API makes it easy to check the user/s current activity3still. • • Optimized for battery( 4ses low-power sensors to recognize the user*s current physical activity. eatures for advanced applications( 'or advanced applications that want to do their own post-processing.usts location updates based on user/s pro-imity to the geofence and user/s modality 0still. walking. • • Simple but powerful APIs( Allows batch addition and removal of geofences. Enhances other services with context( reat for adding movement awareness to location awareness. Optimized for battery( Ad. this API also makes available confidence values for each of the activities.&ets your app setup geographic boundaries around specific locations and then receive notifications when the user enters or leaves those areas. a navigation app can re.8. • 5-cept as noted. walking. understanding what the user is doing is critical to surfacing the right content. 'or e-ample. Ability to manage multiple geofences at the same time. About Android 9 &egal 9 !upport . this content is licensed under 6reative 6ommons Attribution 7. Ability to filter alerts for both entry and e-it or entry only or e-it only.uest more fre. Apps can ad.