百度地图SDK 已经定位到城市,但是用location.getCity()获取到的是NULL问题解决 – 梦想的天空 – 博客频道 – CSDN.NET
变量的声明: String city = null; //当前所在的城市 String addr = null; //当前所在地点在MyLocationListenner implements BDLocationListener 类中获取城市名:public class MyLocationListenner implements BDLocationListene 来源: 百度地