|
1 | 1 | <html> |
2 | 2 | <body> |
3 | 3 |
|
4 | | -<p>Contains the framework API classes that define Android location-based and related services.</p> |
5 | | -<p class="note"> |
6 | | - <strong>Note:</strong> The Google Location Services API, part of Google Play |
7 | | - Services, provides a more powerful, high-level framework that automates tasks such as |
8 | | - location provider choice and power management. Location Services also provides new |
9 | | - features such as activity detection that aren't available in the framework API. Developers who |
10 | | - are using the framework API, as well as developers who are just now adding location-awareness |
11 | | - to their apps, should strongly consider using the Location Services API. |
12 | | -<br/> |
13 | | - To learn more about the Location Services API, see |
14 | | - <a href="{@docRoot}google/play-services/location.html">Location APIs</a>. |
| 4 | +<p>Contains the framework API classes that define Android location-based and |
| 5 | + related services.</p> |
| 6 | +<p class="warning"> |
| 7 | +<strong>This API is not the recommended method for accessing Android location.</strong><br> |
| 8 | +The |
| 9 | +<a href="{@docRoot}reference/com/google/android/gms/location/package-summary.html">Google Location Services API</a>, |
| 10 | +part of Google Play services, is the preferred way to add location-awareness to |
| 11 | +your app. It offers a simpler API, higher accuracy, low-power geofencing, and |
| 12 | +more. If you are currently using the android.location API, you are strongly |
| 13 | +encouraged to switch to the Google Location Services API as soon as |
| 14 | +possible. |
| 15 | +<br><br> |
| 16 | +To learn more about the Google Location Services API, see the |
| 17 | +<a href="{@docRoot}google/play-services/location.html">Location API overview</a>. |
15 | 18 | </p> |
16 | | - |
17 | | -<p>For more information about the framework API, see the |
18 | | -<a href="{@docRoot}guide/topics/location/index.html">Location and Maps</a> guide.</p> |
19 | | -{@more} |
20 | | - |
21 | 19 | </body> |
22 | 20 | </html> |
0 commit comments