Android培训翻译_使你的程序感知位置

 

Dependencies and prerequisites

  • Android 1.0 or higher (2.3+ for the sample app)

You should also read

Try it out

下载示例代码(LocationAware.zip)

 

Users bring their mobile devices with them almost everywhere. One of the unique features available to mobile applications is location awareness. Knowing the location and using the information wisely can bring a more contextual experience to your users. 用户将他们的移动设备随身携带。一个独特的功能可用于移动应用程序的是位置感知。知道位置并聪明的使用这个信息可以为你的用户带来更多的情境体验。

 

This class teaches you how to incorporate location based services in your Android application. You'll learn a number of methods to receive location updates and related best practices. 这组课教你如何在你的Android应用里加入基于服务的定位。你会学到一些获得位置更新的方法和相关的最佳实践。

 

Lessons


Using the Location Manager
使用定位管理器
Learn how to set up your application before it can receive location updates in Android.
在Android可以获取位置跟新前学习如何设置你的程序。
Obtaining the Current Location
获取当前位置
Learn how to work with underlying location technologies available on the platform to obtain current location.
学习如何使用平台上可用的底层定位技术,去获取当前的位置。
Displaying a Location Address
显示一个位置地址
Learn how to translate location coordinates into addresses that are readable to users.
学习如何将定位坐标转换为用户可读的地址。

posted on 2012-08-21 17:04  梵谷星辰  阅读(228)  评论(0编辑  收藏  举报

导航