Condition for app ended or not running?
Moderator: Martin
-
- Posts: 7
- Joined: 21 Mar 2013 13:22
Condition for app ended or not running?
Is this handled in a way I am not finding, or can it be added?
Re: Condition for app ended or not running?
You can try to use Trigger App Task Ended to trigger when an app is moved to the background.
Re: Condition for app ended or not running?
Me too.
I'd like to see NOT RUNNING trigger because it would eliminate a lot of loops using sleep action. Some things are just not possible or feasible enough to archieve with only task ended condition/trigger.
I'd like to see NOT RUNNING trigger because it would eliminate a lot of loops using sleep action. Some things are just not possible or feasible enough to archieve with only task ended condition/trigger.
-
- Posts: 7
- Joined: 21 Mar 2013 13:22
Re: Condition for app ended or not running?
So are you saying one would need to call another flow to do this within another flow?Martin wrote:You can try to use Trigger App Task Ended to trigger when an app is moved to the background.
Re: Condition for app ended or not running?
You can also use a condition App Task Running to check it in a condition.
Re: Condition for app ended or not running?
From what I have seen, it only detects an app currently running in foreground. Ie. I made a flow to turn GPS on when opening map application and turn it off respectively. As it turns out, if I leave the map to home screen the flow stops recognizeing the map is still running and turns GPS off.Martin wrote:You can also use a condition App Task Running to check it in a condition.
That can be fixed with a little loop to check if I return to map within predefined time period, but it would be much more convenient with properly working NOT RUNNING trigger or condition.
-
- Posts: 7
- Joined: 21 Mar 2013 13:22
Re: Condition for app ended or not running?
This is one I have worked on as well. I have the same experience, if the map is not the foreground app, GPS gets turned off.MURTUMA wrote:From what I have seen, it only detects an app currently running in foreground. Ie. I made a flow to turn GPS on when opening map application and turn it off respectively. As it turns out, if I leave the map to home screen the flow stops recognizeing the map is still running and turns GPS off.Martin wrote:You can also use a condition App Task Running to check it in a condition.
That can be fixed with a little loop to check if I return to map within predefined time period, but it would be much more convenient with properly working NOT RUNNING trigger or condition.