Voice commands

Post your questions and help other users.

Moderator: Martin

Post Reply
Ankit Bindal
Posts: 90
Joined: 12 Feb 2016 03:23

Voice commands

Post by Ankit Bindal » 21 Jul 2016 06:09

Hi,

1.
How does voice command trigger works?
Tried to read its description, but didn't understand....
I want to perform some action when i speak some code word in my Bluetooth headset?
Am i using correct trigger?
And does it need some special settings in phone??

2.
Does Media button event trigger works with Bluetooth headset ?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Voice commands

Post by Martin » 21 Jul 2016 18:43

Hi,

1. The system can request to process a voice command by sending an intent with action android.intent.action.VOICE_COMMAND. Some bluetooth headsets have a button to request a voice command. In this case, Automagic would be shown as an app to process this request. The trigger would be executed when Automagic is selected.

2. Not sure, probably depends on Android version and headset in use. Just try if it works on your device. You can also use action Reregister Media Button Receiver in case another app handles the buttons.

Regards,
Martin

Post Reply