Intent to launch play current shortcut #1934
-
Hi, Currently running version 7.0.12. I use Tasker to automatically launch Voice when connecting my Bluetooth headphones. This worked perfectly in Version 6.4.1. But doesn't in 7.0.12. There is a shortcut available to play current in Voice that I can add to my home screen. Tasker is able to send intents and I can use that instead to automatically start playback. What is the intent sent when the play current shortcut is used? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Once this gets rolled out: You can call this receiver:
with an intent of the name:
and a key event with the action |
Beta Was this translation helpful? Give feedback.
Once this gets rolled out:
#1913
You can call this receiver:
voice.playback.receiver.MediaButtonReceiver
with an intent of the name:
android.intent.action.MEDIA_BUTTON
and a key event with the action
KeyEvent.ACTION_UP
and the key codeKEYCODE_MEDIA_PLAY_PAUSE