I am working on an application like speed meter and I am calculating current speed from my location. I just want to stop location updates if user press stop button but, it's not working for me. Please help me out.
I have tried locationmanager.removeUpdates(AnalogSpeedMeterScreen.this); but it is not removing updates.