List<Address> addresses = new Geocoder(a).getFromLocation(latitude,longitude, 1);
Address adr = addresses.get(0)
//receive different paramters of an address
postalCode = a.getPostalCode();
city = a.getLocality();
county = a.getAdminArea();
country = a.getCountryName();
street = a.getThoroughfare();
但是我如何收到门牌号码?
注意!a.getAddressLine(0) 在单个字符串中返回带有数字的街道名称(例如:MyAddress 101b)。有没有办法只接收门牌号(例如:101b)?