Launch Menu of Music Apps When Headset Inserted

Download

This is similar to the previous example, but instead of just launching the Music App, it gives multiple options, Music, Pandora etc. If you want more applications, you can add more.

The download example above uses only the default Android Music Player and Pandora, but you could just as easily add Google Listen for podcasts, iheartradio, or any other application for that matter.

This walkthrough is for Tasker 1.2.

  1. select the Profiles tab, click New and select State
  2. select event category Hardware and event Headset Plugged

Leave the Type set to Any, but if want to specify more granularity you can choose Mic or No Mic depending on your headset type.

  1. click the Layout parameter right-image and change it to 'Icon Grid Menu'
  2. click + in the bottom left to add an action
  3. select category Alert and action Menu
  4. click + in the bottom bar to add a menu item
  5. click the Action button of the new menu item and select category App and action Load App
  6. select the Music application
  7. click + in the bottom bar to add another menu item
  8. click the Action button of the new menu item and select category App and action Load App
  9. select the Pandora application
  10. repeat for any of your other favorite Music related applications to add to the menu. For example, I also have Google Listen in this menu for podcasts.
  11. click Done
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License