-
Notifications
You must be signed in to change notification settings - Fork 8
Tasker Headphone Detection
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.
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
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.
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.