Описание: Я использую Google maps API V2
. Я реализовал Android Reverse Geocoding
в затронутом местоположении.
Проблема: генерирует исключение в
try {
addresses = geocoder.getFromLocation(latitude, longitude,1);}
catch (IOException e)
{
e.printStackTrace();
if(AppConstants.DEBUG)Log.v(AppConstants.DEBUG_TAG," e.printStackTrace(): "+e.getMessage());
}
Я получаю значения latitude
и longitude
правильно, но я не могу понять, почему он выбрасывает exception
, и я также выполнил поиск Google, но это не помогло.
Может кто-нибудь объяснить подробнее?