11-24-2009 11:03 PM - edited 11-25-2009 01:22 AM
From here I found that we can set interval of locationProvider by some integer value in seconds. If we give zero, it will use default value. I want to know what is the default value? Is there any way by which I can read gps in every 0.5 second interval or something like that?
11-25-2009 01:00 AM
to retrieve the location every 0.5 seconds you need to pass 0.5 to the setLocationListener.
What the default value is im not sure my self as i never use it ....
11-25-2009 01:25 AM
ah yeah of course sorry
But why cant you be happy with 1 sec update ?
11-25-2009 04:16 AM
As far as I know, normal GPS chips supply locations at most once per second, so a value of 0.5 would not be useful.
Regarding the OP's first question, how do you know what the default is, sorry can't help there. I always set the interval based on the requirements of my application.