• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps LocationManager requestLocationUpdates minTime minDistance change dynamically

ujtordai

Lurker
I new in Android development.
I have a question, how can I modify dynamically the minTime and minDistance parameters of call frequency of location listener event call of LocationManager? I always need to remove the listener and registering another event listener with requestLocationUpdates?
I would like to modify the event call frequency if the speed is changed or move a curve.
Which is the best way for do this?
 
Back
Top Bottom