Aha. I didn't know it was possible to register more than one provider at a
time. I'll give that a go. Cheers.
On Feb 13, 2009 5:47 PM, Timo Bruck timot...@gmail.com wrote:
I believe you have to register for multiple location providers (network,
gps).
In my code, I call requestLocationUpdates()
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
How about using LocationManager.getBestProvider()?
On Fri, Feb 13, 2009 at 12:47 PM, Timo Bruck timot...@gmail.com 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
On Feb 13, 1:45 pm, Faber Fedor faberfe...@gmail.com wrote:
How about using LocationManager.getBestProvider()?
That will just return one provider, which may not get a fix for a long
period of time. Requesting updates from multiple providers like Timo
said is definitely the way to go.
-Jon
4 matches
Mail list logo