• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help How do I Make Tasker launch an app when I open Google Maps but only once

moe70

Lurker
I am using a dashboard camera app that records video in the background. I have tasker setup to open this dashboard cam app everytime i open google maps.

The problem is, when I open google maps, it opens DashboardCam, dashboard cam then closes and goes in the background and I go back to Maps, tasker then again opens Dashboard cam and it keeps going like that in an infinite loop.

How can I make it only open Dashboard cam once when I open Google Maps?
 
Hi moe70, and welcome to Android Forums :)

Launching one app based on running another app can be kind of tricky (as you've found). Is there another context/condition that you could use instead (like connecting to Bluetooth and/or power in your car)?
 
Hi moe70, and welcome to Android Forums :)

Launching one app based on running another app can be kind of tricky (as you've found). Is there another context/condition that you could use instead (like connecting to Bluetooth and/or power in your car)?
If it is able to detect car power that would be great too but i didn't think it was possible. Is it possible for tasker to detect that I have plugged in the charger in the car?
 
Yep! There's a context for checking if power is connected. I'd suggest combining that with your Maps application context.

You can then set up something like this for the Task:

- Launch App: DashboardCam If %INCAR Is Not Set
- Variable Set: %INCAR to 1

Then for the Exit task (which will run after you disconnect from power), just clear the %INCAR variable.

I'm sorry I can't be more specific as I don't have my phone in front of me, but hopefully something like that can get you pointed in the right direction. :)
 
Yep! There's a context for checking if power is connected. I'd suggest combining that with your Maps application context.

You can then set up something like this for the Task:

- Launch App: DashboardCam If %INCAR Is Not Set
- Variable Set: %INCAR to 1

Then for the Exit task (which will run after you disconnect from power), just clear the %INCAR variable.

I'm sorry I can't be more specific as I don't have my phone in front of me, but hopefully something like that can get you pointed in the right direction. :)
Thanks I will try that and let you know if it works
 
Create a profile based on state, power any. Make it run a task that starts the cam app and the maps app.
 
Back
Top Bottom