안드로이드 개발 질문/답변
(글 수 45,052)
Geocoder geoCoder = new Geocoder(this);
double lat = location.getLatitude();
double lng = location.getLongitude();
List<Address> addList = null;
try {
addList = geoCoder.getFromLocation(lat, lng, 10);
} catch (Exception e) {
e.printStackTrace();
}
좌표값을 받아서 주소로 변환을 했습니다.
그런데 위치마다 구주소가 나올때도 있고 새주소가 나올때도 있습니다.
혹시 구주소를 받아오는 옵션이 있나요?
이걸 어떻게 해결해야 될지 모르겠네요.