Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Assistant SDK to integrate it in an app

Tags:

Is it possible to integrate the google assistant in an android app?

I couldn't find any information about it online.

I know today Google released the Assistant SDK but they don't mention any android support even in their Android Developers Blog post

It would be useful to ask for something your app can offer if installed.

For example:

"ok google, find a Star Wars blu ray on amazon"

and it would launch the amazon shopping app and look for it.

Is it possible to implement something like this within an app with this released SDK?

like image 859
Daniele Avatar asked Apr 27 '17 18:04

Daniele


People also ask

Can I integrate Google Assistant into my app?

Overview. With App Actions, you can use Google Assistant to jump directly into app features and complete tasks using your voice. As an Android developer, you implement capability elements to add App Actions.

How do I integrate apps with Google Home?

From the home screen, choose Explore from the bottom left corner. Scroll until you find the desired app. Tap the app card and select Link. Sign in and have fun!

What is Google Assistant SDK?

The Google Assistant SDK lets you add voice control, natural language understanding and Google's smarts to your ideas.

How do I launch an app with Google Assistant?

To get started with shortcuts, Android users can say “Hey Google, show my shortcuts” to get to the correct Settings screen. The feature is similar to Apple's support for using Siri with iOS apps, which also includes the ability to open apps, perform tasks and record your own custom phrase.


2 Answers

Your example doesn't illustrate embedding the Assistant in your own app - it sounds like it illustrates using the Assistant to start your app.

The former would be supported with this SDK, the latter... not really.

You can embed the newly announced SDK into your apps by building a gRPC library for Android. See https://developers.google.com/assistant/sdk/prototype/getting-started-other-platforms/integrate for the overview information for the Assistant SDK and http://www.grpc.io/docs/quickstart/android.html for getting started with gRPC for Android.

like image 155
Prisoner Avatar answered Sep 17 '22 16:09

Prisoner


Google assistant is build for actions, so if you want to build a conversation, you need to use another api, like api.ai. Also you can look here.

like image 34
Florescu Cătălin Avatar answered Sep 17 '22 16:09

Florescu Cătălin