App Task Started question
Posted: 26 Jun 2015 09:11
Hello,
I don't have a rooted phone and I want to launch the Location settings each time I start and close Waze in order to enable / disable GPS.
I use App Task Started as a trigger to test when Waze is launched and Launch App to display Location settings.
The problem is that after I close Location settings Waze comes up and right after Location settings shows up. Is like an endless loop.
What is happening is that when Location settings is displayed Waze goes to background. After I close Location settings, Waze comes to foreground. The problem is that the App Task Started is triggered when Waze comes in foreground.
All I want is that the flow to be executed only once when Waze is launched.
Please tell me how can I do that?
I don't have a rooted phone and I want to launch the Location settings each time I start and close Waze in order to enable / disable GPS.
I use App Task Started as a trigger to test when Waze is launched and Launch App to display Location settings.
The problem is that after I close Location settings Waze comes up and right after Location settings shows up. Is like an endless loop.
What is happening is that when Location settings is displayed Waze goes to background. After I close Location settings, Waze comes to foreground. The problem is that the App Task Started is triggered when Waze comes in foreground.
All I want is that the flow to be executed only once when Waze is launched.
Please tell me how can I do that?