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

Tasker Question

Wondering if anyone can help.

So I have an audiobook player, music player, and podcast app. I want to map a headset button(easy enough using headset button control) to a single tasker task that when pressed will open the music player, when pressed again close music and open audiobook, when pressed again open podcast app. Basically cycle through to the next app in order in a loop for when I want to switch between the 3.

Is this even possible?
 
Hi johnbottom, and welcome to Android Forums :)

I've moved your post to the dedicated Tasker subforum. :thumbup:

Off the top of my head, what you want to do should be possible, but I will need to do some thinking/tinkering to figure out the best route. In the meantime, hopefully some of our other Tasker users will be able to chime in with suggestions. :)
 
Thanks for the response!

If anyone is able to come up with how to do this using tasker I would be willing to paypal $10 for your time and effort.

I have dabbled with it but I am a new tasker user and wasn't able to crack it.
 
You apparently have Headset Button Control so that should be easy enough.

The task would look like this:

Variables > Variable Add > Name = %Cycle, Value = 1, Wrap around = 3
App > Launch App > youraudiobookplayer, If %Cycle equals 0
App > Launch App > yourmusicplayer, If %Cycle equals 1
App > Launch App > yourpodcastapp, If %Cycle equals 2

(The Ifs are options in the Launch App actions)

I've just tried with the trial version of Headset Button Control, which I didn't know, and it works quite nicely.
 
You apparently have Headset Button Control so that should be easy enough.

The task would look like this:

Variables > Variable Add > Name = %Cycle, Value = 1, Wrap around = 3
App > Launch App > youraudiobookplayer, If %Cycle equals 0
App > Launch App > yourmusicplayer, If %Cycle equals 1
App > Launch App > yourpodcastapp, If %Cycle equals 2

(The Ifs are options in the Launch App actions)

I've just tried with the trial version of Headset Button Control, which I didn't know, and it works quite nicely.

Wow. Thank you so much for taking the time to help me. I really appreciate it. My job allows us to use earphones but we are not allowed to take our phones out of our pocket. So I have been stuck trying to figure out what I could do. This will help me alot.
 
Back
Top Bottom