Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Tasker Headphone Detection

Jacob Peddicord edited this page May 8, 2018 · 3 revisions

Since Android 8.0, Speed of Sound is no longer able to detect when you plug in headphones without running all the time on your phone. Unless Google ever changes this, you'll need the assistance of a third-party app to handle detection. I personally recommend Tasker, but you can use any Tasker/Locale-compatible app to send commands to Speed of Sound. This guide covers how to set up Tasker.

Install Tasker

https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm

Option 1: Download & Import Profile

Open this page and save it to your device (e.g. your Downloads folder):

https://raw.githubusercontent.com/jpeddicord/speedofsound/master/speedofsound-headphone-tasker.xml

In Tasker, select the Profiles tab if it's not already open. Then, tap the tab again to reveal a menu, then select Import. Pick the XML file you just downloaded.

Ensure the profile is enabled and that Tasker is overall enabled, and you're done! Feel free to edit the profile to your heart's content; there's nothing terribly complex about it.

Option 2: Create the task yourself (advanced)

If you're comfortable with Tasker, you can make the profile yourself. The context used for this profile is "Headset Plugged", but if you want a different trigger then obviously you can pick whatever you want. Your actions/tasks should use the "Speed of Sound" option available in the "Plugin" category. From there you can select whether you want tracking to be started or stopped.