I am developing an android app which will track the user location trace (GPS Provider) and show polyline. I have implemented that using
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, listener);
in my activity. But now when the user close the activity from the stack i can't get the location updates. Is it possible to get the location update even the activity closed?