I know that depending on how long an Activity is onPause () and if the device needs to free memory it will kill that Activity / em>. I wonder if the same thing happens with the service that runs in the background? When Activity is killed, the service will also be killed?
I have a service that does a location update using the Google Maps API from time to time, however I believe that after a long time, and the user is using other applications, he is dead.