Re: [android-developers] Android GeoCoder Issue

2011-01-14 Thread narasimha venkat
Geocoder geocoder = new Geocoder(this, Locale.getDefault()); ListAddress addresses = geocoder.getFromLocation(lat, lng, 1); using this code its working On Sat, Jan 8, 2011 at 2:03 AM, Ankur Avlani ankuravl...@gmail.com wrote: Hi All, I am using android map api. To plot overlays, for some

Re: [android-developers] Android GeoCoder Issue

2011-01-14 Thread Ankur Avlani
I want lat, lng of an address and not the other was round On Fri, Jan 7, 2011 at 7:56 PM, narasimha venkat chandra.narasimha...@gmail.com wrote: Geocoder geocoder = new Geocoder(this, Locale.getDefault()); ListAddress addresses = geocoder.getFromLocation(lat, lng, 1); using this code its

[android-developers] Android GeoCoder Issue

2011-01-07 Thread Ankur Avlani
Hi All, I am using android map api. To plot overlays, for some address I need to get the lat lng values. I user GeoCoder to get the lat lng values based on address. I am passing the complete address with City, State and Zip. But the interesting part is, the GeoCoder does not always returns

Re: [android-developers] Android GeoCoder Issue

2011-01-07 Thread TreKing
On Fri, Jan 7, 2011 at 2:33 PM, Ankur Avlani ankuravl...@gmail.com wrote: Has anyone faced this issue?. Any help is highly appreciated. This is a known problem. Wrap your geocoding in a loop of say 5 or 10 attempts, sleeping() for a second or so in between each call. If it's valid, it should