Now I have resolve the problem with the Timer class. I postponed the
execution of the code after the call of method "getAdress()".
I set a static time of 1 second, but I'm not secure that
geocoder.getLatLng(). have finished his execution.
Is there a way to know when an asynchronous method finish hi
geocoder.getLatLng() is an asynchronous method. Your callbacks from
geocoder.getLatLng() will not going to have a chance to get called before
your method "getAddress()" returns.
On Sat, Dec 5, 2009 at 1:12 PM, Andrea wrote:
> Hy. I have some problem with the geocoder class.
> The method under r
Hy. I have some problem with the geocoder class.
The method under return a empty lista otherwise if I put the
Window.alert("") the method return the correct result.
There is nobody that can help me? I want that the Arraylist return the
correct result without use Window.alert
Thanks Andrea
public A