I'm creating an android application that will do a task in a specific time (defined by the user). For this I'm using an Intent Service.
The the problem is if the user closes the application (example: using back button) then I cannot get the the running service to shutdown it, to read information from it (to update my activity when the application opens), etc.
Is this the better approach?
Is there any way to get the running service (intent service)?