Hi guys,
when using location provider I've been doing the following:
Code:
_locationProvider.setLocationListener(new LocationListenerImpl(), 300, 15, 10);
My question is to do with the passed variables:
int interval,
int timeout,
int maxAge
Interval is set at 300 seconds, does this mean the Location provider 'wakes up' after five minutes and gets a single position report, or is it constantly updating?
Timeout, this is the time in seconds the GPS chip has to get a report after five minutes?
Max age, this should be OLDER than timeout? because if timeout is 15 (meaning the GPS chip COULD get a report in the first 4 seconds) and the maxAge is 10 (anything older than 10 seconds is discarded) a location recieved in the first 4 seconds would be ignored?