How does LocationManager work

Posted by user2511882 on Stack Overflow See other posts from Stack Overflow or by user2511882
Published on 2013-06-29T22:19:21Z Indexed on 2013/06/29 22:21 UTC
Read the original article Hit count: 165

Filed under:
|

I have been going through the google docs for the locationManager API and specifically over the method locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 60000, 10, this);

In the above line, the manager will check for location updates after each minute and distance of 10 meters. My question is does it actually take both the parameters into consideration? For example if you are driving along how will the method work? Will it start looking for updated locations since you are over the minimum distance between the two updates or will it wait for a minute irrespective?

If someone can tell me its behavior, it would be great. Thanks.!!

© Stack Overflow or respective owner

Related posts about android

Related posts about locationmanager