Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Google Assistant to directly talk to my Android app and execute a very simple task

Tags:

I am working on a project to integrate the Google Assistant with an existing Android app. The requirements are simple. Assuming my app is named TestApp and I want it to just change the background color of the app home page, I want to be able to say,

"Hey Google, Change background to black on TestApp".

I was given links to ActionsSDK, but looking into it, I see that it is only a stand-alone app that extends Google Assistant and has nothing to do with android itself.

The closest API I found that does what I need is the Voice Interactions. This is very similar to what I need done but it only allows preset voice triggers such as "call this person..." or "set alarm at...", but cannot do "change background..." like in in my example. According to this link, custom voice actions aren't allowed.

So my question is, is it possible to directly interact with my app and have it do a very simple task?

Thanks

like image 338
ITried Avatar asked Nov 24 '17 20:11

ITried


People also ask

How do I automate tasks in Google Assistant?

Open Assistant, tap the Updates button in the bottom left, then select your account top right and go to Assistant > Routines. Or, given that this is a voice-controlled app, you can just say "Set up routines" and it'll take you almost all the way. Tap the Routines button at the bottom of the screen to open the settings.

Can I use Google Assistant to open an app?

Google on Thursday announced that its voice assistant can now open and search through some of the most popular apps available for Android phones. That means you can now do more specific things with Google Assistant besides just opening an app.


Video Answer


1 Answers

You may want to connect an Android app property with your Actions project to sell your digital goods in the Play store. Implement digital transactions to sell your Play store items as part of a conversation with your Action.

To connect an Android app with your Actions console project, you will first need to connect a website to your project. Follow the instructions provided above in Connecting a website.

Once you've connected a website, under Android app, click the Connect App button and follow the instructions shown. Once you have completed the instructions over in the Play console, it may take up to 24hrs before the connected Android app is reflected in the Actions console. Try this in Action on google

like image 175
Nimitt Sethiya Avatar answered Sep 22 '22 00:09

Nimitt Sethiya