Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba6cff98 authored by Soonil Nagarkar's avatar Soonil Nagarkar
Browse files

Update location package javadocs

Test: none
Change-Id: Iac8a189a5773784305cfd5ea2af4414030167d12
parent 5d5f191c
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
<html>
<body>

<p>Contains the framework API classes that define Android location-based and
	related services.</p>
<p class="warning">
<strong>This API is not the recommended method for accessing Android location.</strong><br>
The
<a href="https://developers.google.com/android/reference/com/google/android/gms/location/package-summary">Google Location Services API</a>,
part of Google Play services, is the preferred way to add location-awareness to
your app. It offers a simpler API, higher accuracy, low-power geofencing, and
more. If you are currently using the android.location API, you are strongly
encouraged to switch to the Google Location Services API as soon as
possible.
<p>Contains framework API classes for accessing a variety of location related services.</p>
<p class="note"><strong>Note:</strong> The
<a href="https://developers.google.com/android/reference/com/google/android/gms/location/package-summary">Google Location Services APIs</a>,
part of Google Play services, is the preferred way to access location services for apps. These APIs
are both simpler to use and offer more capabilities as compared to the traditional Android location
APIs found here. They also offer new services, such as low-power geofencing, activity recognition,
and more. Clients of the traditional Android location APIs are encouraged to switch to the Google
Location Services APIs wherever possible.
<br><br>
To learn more about the Google Location Services API, see the
<a href="{@docRoot}google/play-services/location.html">Location API overview</a>.