Check the latitude and longitude value, that you are passing to
getFromLocation(). Then try, giving the number of results a bigger
value than 1.

Nithin

On Jan 7, 3:58 pm, sathya subbiah <[email protected]> wrote:
> Hi,
>
> I am trying to get address from Longitude and latitude using the following
> code
>
>               Geocoder geoCoder = new
> Geocoder(mContext,Locale.getDefault());
>
>                 List<Address> addresses = geoCoder.getFromLocation(
>                         mCurrentLatitude,
>                         mCurrentLongitude, 1);
>
> But the address size is always 0. I am trying this in Android SDK 2.0 using
> eclipse. Can anyone help me to resolve the issue?.
>
> Thanks & Regards,
> Sathya
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to