I am making an application for GPS tracking. I create LocationManager and set requestLocationUpdates.
LocationManager myManager = (LocationManager) mMap.getSystemService("location");
myManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,MIN_TIME, MIN_DISTANCE, this);
How to select the optimal parameters MIN_TIME and MIN_DISTANCE for the battery and recording the normal track? Please, give me reason for the answer.
Thanks in advance!
UPD: I need the optimal parameters. How to detect the location, I know!