Hi sonny....

reverseGeocode ( getFromLocation()) works pretty reliably (I would say
>95% of the time) in my app under 2.2.  Certainly no worse than 2.1.

I wrap the call inside a Try....Catch block and if it throws an
exception I wait a second and try again.  If its still null after 3
tries the program gives up and asks the user to try again.  Not
particularly elegant, but it seems to do the trick.

Spiral


On Sep 22, 11:54 am, sunny <menon1...@gmail.com> wrote:
> Dear Folks!!,
> Looks like reverseGeocode ( getFromLocation())  is not working in android
> 2.2. It is not able to fetch the address from the coordinates. It returns
> null and crashing my app.
>
> Any clues ?. do you see this too ?. very frustrating indeed.
>
> In general 2.2 is not stable - 2.1 was much better. UI response , UI
> rotation when rotate the phone etc doesn't work reliably....
>
> sorry I could not respond to some of the earlier emails directed to me as I
> was on vacation...
>
> thanks a ton for your response
> Sunny

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to