Check this, http://groups.google.com/group/android-developers/browse_thread/thread/79f94e31e647db60/aedf666aa0faa216?lnk=raot&pli=1
On Wed, May 13, 2009 at 2:55 PM, neoraptor <[email protected]> wrote: > > Hello, > > I have the same problem (code working on SDK 1.1 but not on 1.5). > Does someone find a solution? > > Thanks > > On 16 avr, 17:32, zlu <[email protected]> wrote: > > This code used to work in SDK1.1 but stopped working in1.5 > > I have a class that implements LocationListener > > > > in the onLocationChanged(Locationlocation) method I have: > > Geocoder geocoder = new Geocoder(this, Locale.US); > > try { > > List<Address> addresses = geocoder.getFromLocation > > (location.getLatitude(),location.getLongitude(), 1); > > > > }..... > > > > In emulator I send gps info, which is passed into thelocation > > variable at runtime: > > mLatitude=37.78419876666667,mLongitude=-112.40200043333334, > > But the address List is empty. In sdk 1.1 I get google's address on > > shoreline, mtn view. > > > > Does anyone have any idea on how to solve this? > > > > Thanks, > > > > Zhao > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

