1
I know that depending on the time that one Activity be in a state of onPause() and if the device needs to release memory it will kill this Activity. I wonder if the same happens with the service that runs in the background? When the Activity is killed the service will also be killed?
I have a service that does a localization update using the Google Maps API from time to time, but I believe that after a long time on, and the user go using other applications he is killed.
How to detail how this service runs in the background so we can help in the best way?
– Leonardo Patricio
Sure, I’ll edit the question.
– Mateus Carvalho