poeschlorn
poeschlorn

Reputation: 12440

Manually abort GPS updating in Android

I receive updates from my GPS in this way:

lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 5000, 0, locationListener);

In my onLocationChanged(Location loc)-method I want now to abort updating GPS data by specific criteria...

So how can I undo/disable the requestLocationUpdates(...) ?

Nice greetings, poeschlorn

Upvotes: 0

Views: 185

Answers (1)

Related Questions