Drive, Bluetooth, Play Music, Waze

by Hrvoje Tolić

Version 1 (July 24, 2016)

Download (40 downloads)

It starts with activity detection. If you are driving, the fiber will enable bluetooth and try to connect to the headset. If it fails, the fiber waits 2 minutes and tries again. If it fails 2nd time, the fiber shows input dialog asking you to try again or to stop trying at this take. If you choose to stop the fiber disables bluetooth, requires still activity for at least 10 minutes and starts all over again with driving activity detection. On the other hand, if it connects to the headset, it starts Google Music Play and Waze. When the bluetooth disconnects, it kills Google Music Play, Waze and Musixmatch's Lyrics Plugin, disables bluetooth and starts from beginning.