I want to keep my application running in background I have an application that sends the user\'s location to our server I have the following code:
pu
You can keep your application running in the background using Service
Service
I hope this link will help you
Please read the documentation for further details