public void onLocationChanged(AMapLocation aMapLocation) {
if (aMapLocation != null) {
mProgressDialog.cancel();
mLocationClient.stopLocation();
if (aMapLocation.getErrorCode() == 0 && !TextUtils.isEmpty(aMapLocation.getCity())) {
<BUG>backToWeather(SystemUtils.formatCity(aMapLocation.getCity(), aMapLocation.getDistrict()));
</BUG>
} else {
Log.e("AmapError", "location Error, ErrCode:"
+ aMapLocation.getErrorCode() + ", errInfo:"

public void onLocationChanged(AMapLocation aMapLocation) {
if (aMapLocation != null) {
mProgressDialog.cancel();
mLocationClient.stopLocation();
if (aMapLocation.getErrorCode() == 0 && !TextUtils.isEmpty(aMapLocation.getCity())) {
backToWeather(SystemUtils.formatCity(aMapLocation.getCity(), aMapLocation.getDistrict()), true);
} else {
Log.e("AmapError", "location Error, ErrCode:"
+ aMapLocation.getErrorCode() + ", errInfo:"
