Change parameter value of requestLocationUpdate(String provider, long minTime, float minDistance, LocationListener listener) method runtime
<p>I am developing location tacker application in android
so in service on start method I have register requestLocationupdate method with it's parameter
locationManager.requestLocationUpdates(bestProvider, getTimePreferance(), getDistancePreferance(), listener);
Service starts when application reboot or installed
So it works fine..
But there is another activity name is settings.
Where user can set 2 parameter minimum distace interval and minimum time interval notification,
and whatever value user will enter I will store in preferance.
I refer same preferance while register requestLocationUpdates method.
So my question is does it automatically update the method parameter while user change preferance value??
or is that any another method to reset requestLocationUpdate() method..
help me to come out.
Thanks in advance</p>
