Android培训翻译_使你的程序感知位置
?
Dependencies and prerequisites
- Android 1.0 or higher (2.3+ for the sample app)
You should also read
- Location and Maps
位置和地圖
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
使用定位管理器
在Android可以獲取位置跟新前學習如何設置你的程序。
獲取當前位置
學習如何使用平臺上可用的底層定位技術,去獲取當前的位置。
顯示一個位置地址
學習如何將定位坐標轉換為用戶可讀的地址。
轉載于:https://www.cnblogs.com/stonesea/archive/2012/08/21/making-your-app-location-aware.html
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的Android培训翻译_使你的程序感知位置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: extern “C”总结
- 下一篇: ubuntu 虚拟显示器制作