After launching listener by the following code is working fine.
LocationManager locationManager =(LocationManager) getSystemService(Context.LOCATION_SERVICE)
If you are using maps, you have to do:
locationManager.removeUpdates(locationListener); mMap.setMylocationEnabled(false);