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

Tasker Question - Autoplaying music

Have just installed Tasker on my HTC one and have defined my first task..
As soon as headphones are plugged in it opens the stock HTC Music APP but doesn't start playing the next song.
Is there something that I'm doing wrong or.. is are there alternative Android music players out there that has a setting to facilitate this.
MJ
 
You could also setup an "input tap" to mimic the push of the play button.

Under the Task + Script>Run shell> For Command enter "input tap X Y" and check the Root box.

X and Y are coordinate point where you would push the "Play" button.
Go into Developer Options and check the box "Show Pointer Location"
Launch the music player and push and hold the play button, write down the X and Y coordinates.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones