That doesn't really make sense.  When you ask for location, you will specify
how accurate you want the data to be.  If you ask for GPS accuracy, it will
start using that (if it hasn't already).  You keep the request open, so it
continuously looks for satellites and tracks movement.  Each update it gives
you includes the accuracy of the position, which is based on the source of
the data (network, GPS, etc), and for GPS the number of satellites.

Often when you first ask for GPS data, there will be no GPS fix at all, but
you will still be able to get some data based on cell towers.  The accuracy
information tells you how much you can infer from each report you get.  But
this is not a one-shot request -- as long as you have asked for position
reports, it will continually monitor the location as accurately as it can.

There is of course the newer API to get the last location, and of course
that is what it says -- the last reported location, whatever that was,
without use GPS or cell towers to try to determine the current location.

On Wed, Dec 29, 2010 at 10:59 AM, t <[email protected]> wrote:

> how accurate is the data from Android's GPS location provider?
>
> does the device always try to seek a satellite, or does it sometimes
> return an optimization of the past locations without querying the
> satellites?
>
> if this question is device-specific, i'm asking about HTC Hero, HTC
> Desire and Google Nexus One.
>
> thanks
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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

Reply via email to