GPS fixes will arrive at a rate determined by the GPS hardware and the
environment. You cannot control this.

Either adjust your code to deal with a variable rate of data, or make
your own fixed interval polling loop, retrieving values from
getLastKnownLocation(). You will still need to use
requestLocationUpdates(), to cause GPS to continuously acquire fixes.

On Sun, Jun 3, 2012 at 8:18 AM, Sumedh <[email protected]> wrote:
> Hi,
>
> I developed a code in which i want to access GPS values like
> lattitude, longitude, speed and date-time for every fixed interval.
> Currently I am using LocationManager's onLocationChanged() method to
> get those values. but I want those GPS values for fixed interval
> irrespective of any event.
> Is there any way to do it, or any other method in LocationManager I
> can use
>
> thanks and regards,
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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