摘要: 1、初始化LocationClient类 /* * 此处需要注意:LocationClient类必须在主线程中声明。需要Context类型的参数。 * Context需要时全进程有效的context,推荐用getApplicationConext获取全进程有效的context */ public LocationClient mLocationClient = null; // BDLocationListener处理定位结果 // MyLocationListener实现两个方法:定位请求回调函数+poi请求回调函数 public B... 阅读全文
posted @ 2014-02-05 16:13 行云有影 阅读(931) 评论(0) 推荐(0)