How to tell if an app has been closed completely
Posted: 28 Aug 2013 17:44
I am trying to figure out if there is a way to trigger an action when an app has been closed completely using the task manager.
Here is what I am trying to do: I have my GPS automatically come on when the google maps app is opened. I want it to stay on until the app is closed in the task manager, not closing while it is running in the background. If I am using maps and receive a text or call and maps is sent to the background I want to keep the GPS running so when I switch back it will still be on. When I close it completely in the task manager then GPS will turn off.
Right now I am using the app ended trigger but it triggers even when the app is sent to the background and then will not trigger again if i just close it from the background. Is there any way to tell if an app has been completely closed as opposed to just sent to the background?
Here is what I am trying to do: I have my GPS automatically come on when the google maps app is opened. I want it to stay on until the app is closed in the task manager, not closing while it is running in the background. If I am using maps and receive a text or call and maps is sent to the background I want to keep the GPS running so when I switch back it will still be on. When I close it completely in the task manager then GPS will turn off.
Right now I am using the app ended trigger but it triggers even when the app is sent to the background and then will not trigger again if i just close it from the background. Is there any way to tell if an app has been completely closed as opposed to just sent to the background?