【android】Location-based Service
16lz
2021-01-26
Geocoding is a concept used toconvert an address(or location) to a latitude/longitude pair.
It's provided inandroid.locatin.Geocoder with the following methods.
- getFromLocation
- getFromLocationName
- getFromLocationName*
The LocationManager service is a system-level service. System-level services are services that you obtain from the context using the service name; you don't instantiate them directly, and it also provides geographical location details by using three types of location providers:
- GPS providers LocationManager.GPS_PROVIDER
- Network providers LocationManager.NETWORK_PROVIDER
- passive provider LocationManager.PASSIVE_PROVIDER
- android.permission.ACCESS_FINE_LOCATION
- android.permission.ACCESS_COARSE_LOCATION
GPX: GPS Exchange Format KML: Keyhole Markup Language
Use MyLocationOverLay to show where you are now.
<Receiver android:name=".ProximityReceiver"> <intent-filter> <action android:name="com.androidbook.android.intent.PROXIMITY_ALERT" /> <data android:scheme="geo" /> </intent-filter></Receiver>
更多相关文章
- 代码中设置drawableleft
- android 3.0 隐藏 系统标题栏
- Android开发中activity切换动画的实现
- Android(安卓)学习 笔记_05. 文件下载
- Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
- 技术博客汇总
- android 2.3 wifi (一)
- AndRoid Notification的清空和修改
- Android中的Chronometer