Hi jgostylo,
On 07/15/2010 07:01 AM, jgostylo wrote:
All of this and people have only sort of answered my question. I
understand that the answer may just be "I don't really know what it
would do" and I understand that really isn't an answer people post on
the forum because it does not fill the information gap. The accuracy
is a function of the number of satellites in view and other stuff. I
get that. But the question remains the same. When it tells me my
location is hundreds of miles from where I actually am, will the call
to getAccuracy return hundreds of thousands of meters?
I don't know if what I've noted is of any help at all, but here we go
anyway:
It is easy to get confused when mixing network(coarse) and gps(fine)
providers if you just listen to both. For network I've seen it be
radically off many times (presumably the operator has messed up IDs and
positions), but at least it is usually quick to report SOMETHING. When
it comes to gps I would say that the the blue circle shown on Google Map
quite often would have to be twice as big for the first few samples
(with pretty bad accuracy) to show the truth, but when it comes down to
two digit meters it usually is quite good for me - even when I'm indoors
(reasonably low buildings). Compared to the iPhone3GS that my colleagues
use, it is significantly better actually. This might just be luck with
my particular devices, though. So basically, to be on the safe side, I'd
say double the number of meters you get from accuracy.
The other thing that you will need to consider is to have a "best
before" timestamp on all positions. In some cases I've had a pretty good
position from the GPS for a long time when for some reason it drops the
signal and you need to go back to network until it comes back. If you
are moving fast (say sitting on a train with iffy net coverage too) this
can get pretty strange results if you trust your old data for too long.
(Your currentLocationAccuracy variable may be trying to address this?)
Obviously, debugging this is hard and potentially expensive (even
dangerous if you drive yourself!).
Disclaimer: I don't claim to be an expert on this, this above is just
based on my own observations.
/ Jonas
--
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