摘要:
一、LocationManagerLocationMangager,位置管理器。要想操作定位相关设备,必须先定义个LocationManager。我们可以通过如下代码创建LocationManger对象。LocationManger locationManager=(LocationManager)this.getSystemService(Context.LOCATION_SERVICE); 二、LocationListenerLocationListener,位置监听,监听位置变化,监听设备开关与状态。 private LocationListener locationLis... 阅读全文
posted @ 2013-11-12 14:08
V青山绿水
阅读(1773)
评论(0)
推荐(0)

浙公网安备 33010602011771号