How about using LocationManager.getBestProvider()? On Fri, Feb 13, 2009 at 12:47 PM, Timo Bruck <[email protected]> wrote:
> I believe you have to register for multiple location providers (network, > gps). > > In my code, I call requestLocationUpdates() on each provider, but they all > share the same LocationListener. My LocationListener keeps track of the > highest quality fix received so far (via getAccuracy()) and discards fixes > that are worse than that. Hmmm, I'll have to try that. -- Faber Fedor Linux New Jersey http://linuxnj.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

