[android-developers] Does Android's GPS location provider do a built-in optimization?

2010-12-29 Thread t
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Does Android's GPS location provider do a built-in optimization?

2010-12-29 Thread mohammad shankayi
in most gps devices , the device has a graph of visible sat.s and estimates
the postion of sat.s based on it ...
sincerely
mohammad shankayi


On Wed, Dec 29, 2010 at 10:59, t tomers...@gmail.com 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Does Android's GPS location provider do a built-in optimization?

2010-12-29 Thread Dianne Hackborn
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 tomers...@gmail.com 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Does Android's GPS location provider do a built-in optimization?

2010-12-29 Thread mohammad shankayi
dianne is right but this ability is only in A-gps devices and as we know all
android devices has the ability of positioning with cell towers :)
sincerely
mohammad shankayi


On Wed, Dec 29, 2010 at 12:23, Dianne Hackborn hack...@android.com wrote:

 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 tomers...@gmail.com 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Does Android's GPS location provider do a built-in optimization?

2010-12-29 Thread Dianne Hackborn
Yes if the device does not have a GPS, or if the user has turned off the
GPS, you will only get cell or network based location.

On Wed, Dec 29, 2010 at 12:47 PM, mohammad shankayi mohd...@gmail.comwrote:

 dianne is right but this ability is only in A-gps devices and as we know
 all android devices has the ability of positioning with cell towers :)
 sincerely
 mohammad shankayi


 On Wed, Dec 29, 2010 at 12:23, Dianne Hackborn hack...@android.comwrote:

 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 tomers...@gmail.com 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 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 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en