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

Commit 3f5184c3 authored by Quddus Chong's avatar Quddus Chong Committed by Android Git Automerger
Browse files

am 6ec5a256: am 4be6fdeb: am ba2199fa: Merge "docs: Modified the notice in the...

am 6ec5a256: am 4be6fdeb: am ba2199fa: Merge "docs: Modified the notice in the android.location package file to strongly encourage developers to migrate to the Google Play Services Location API." into klp-modular-docs

* commit '6ec5a256':
  docs: Modified the notice in the android.location package file to strongly encourage developers to migrate to the Google Play Services Location API.
parents adc5504a 6ec5a256
Loading
Loading
Loading
Loading
+14 −16
Original line number Original line Diff line number Diff line
<html>
<html>
<body>
<body>


<p>Contains the framework API classes that define Android location-based and related services.</p>
<p>Contains the framework API classes that define Android location-based and
<p class="note">
	related services.</p>
    <strong>Note:</strong> The Google Location Services API, part of Google Play
<p class="warning">
    Services, provides a more powerful, high-level framework that automates tasks such as
<strong>This API is not the recommended method for accessing Android location.</strong><br>
    location provider choice and power management. Location Services also provides new
The
    features such as activity detection that aren't available in the framework API. Developers who
<a href="{@docRoot}reference/com/google/android/gms/location/package-summary.html">Google Location Services API</a>,
    are using the framework API, as well as developers who are just now adding location-awareness
part of Google Play services, is the preferred way to add location-awareness to
    to their apps, should strongly consider using the Location Services API.
your app. It offers a simpler API, higher accuracy, low-power geofencing, and
<br/>
more. If you are currently using the android.location API, you are strongly
    To learn more about the Location Services API, see
encouraged to switch to the Google Location Services API as soon as
    <a href="{@docRoot}google/play-services/location.html">Location APIs</a>.
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>.
</p>
</p>

<p>For more information about the framework API, see the
<a href="{@docRoot}guide/topics/location/index.html">Location and Maps</a> guide.</p>
{@more}

</body>
</body>
</html>
</html>