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. 用戶將他們的移動設(shè)備隨身攜帶。一個獨特的功能可用于移動應(yīng)用程序的是位置感知。知道位置并聰明的使用這個信息可以為你的用戶帶來更多的情境體驗。
?
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應(yīng)用里加入基于服務(wù)的定位。你會學(xué)到一些獲得位置更新的方法和相關(guān)的最佳實踐。
?
Lessons
Using the Location Manager
使用定位管理器
在Android可以獲取位置跟新前學(xué)習(xí)如何設(shè)置你的程序。
獲取當(dāng)前位置
學(xué)習(xí)如何使用平臺上可用的底層定位技術(shù),去獲取當(dāng)前的位置。
顯示一個位置地址
學(xué)習(xí)如何將定位坐標轉(zhuǎn)換為用戶可讀的地址。
轉(zhuǎn)載于:https://www.cnblogs.com/stonesea/archive/2012/08/21/making-your-app-location-aware.html
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的Android培训翻译_使你的程序感知位置的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: extern “C”总结
- 下一篇: 查看自己Android设备分辨率