KJaeg
KJaeg

Reputation: 686

Adding voice control with Google Assistant

For two days I am researching the Google Assistant, but after these two days I am confused. It seems like the previous tutorials where more about creating an app for the Google Assistant, but I would like to do the opposite.

I already have a running app, and I would like to add the possibility to navigate through the app with voice commands that are handled by the Google Assistant.

I got lost in my searches. Does anyone have a starting point for me to achieve my goal? Which points could be useful for me?

Upvotes: 1

Views: 1876

Answers (1)

Nick Felker
Nick Felker

Reputation: 11968

If you want to integrate voice commands only within the context of your application, it may be a good idea to use Dialogflow. It will use Google Cloud's speech to text while giving you the ability to handle your intents. There's a sample which uses Android.

Using the Google Assistant would also be possible with the Google Assistant SDK. There is a sample which uses Android Things, but is easily portable to any Android device. It would let you send voice commands to the Assistant and get back responses. However, it is slightly more general. If a user asks about something in your app, they will probably only want an answer within the context of your app, not fallback to the Assistant.

Upvotes: 2

Related Questions