I *am* using the listener loop and using getLastKnownLocation from the locationManager inside the onLocationChanged() method. Is this not the correct pattern?
On Dec 2, 2:31 pm, Lance Nanek <[email protected]> wrote: > Why are you using getLastKnownLocation if you want a fresh fix? The > documentation says it won't even start the location provider. Use > requestLocationUpdates. > > On Dec 2, 2:53 pm, stanlick <[email protected]> wrote: > > > Didn't we put a man on the moon? It can't be done seems a little lazy > > today! > > > I have read all the posts about this topic and I understand the > > arguments being made. However, I would like to know how Google Maps > > can return my *current* location yet while driving the same stretch of > > road, the Android API often (not always) gives me a last known > > location that was miles back. I need to be able to rely on the API to > > provide me with a *current location* and I have tried all the tricks > > being proposed here and elsewhere. Is there lower level code > > someplace that could ping the phone's radio for a "fresh fix?" > > > If you have solved this riddle, I would be happy to pay for your > > solution. > > > Peace, > > Scott -- 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

