Start Google Assistant using Activity starter

is it possible to start Google assistant via activity starter, with a “pre-maked” question? I read a topic about this, but I couldn’t figure out how to do it. Can any of you explain to me?

what about providing a link to that topic?
Taifun

Here Is the topic. , but the solution of this does not allow to make a request to google assistant, only open the app, i would like to open google assistant with a pre made question, like on the Action Blocks app.

1 Like

Can anyone help me?

according to this

you could add the Extras property and pass a list of one key/value pair, the key is query and the value is your question
how to use the Extras property see also here App Inventor Code Snippets | Pura Vida Apps

Taifun

Can explain me with blocks / properties?

please try something yourself and if you get stuck, post a screenshot of your relevant blocks
Taifun

Ok i try…

sorry, I tried just a few days ago (due to various commitments) to do the above, and it gives me error 601: activity not found. how can I do? these are my configurations.


image

@Taifun

1 Like

try
Action android.intent.action.WEB_SEARCH or android.intent.action.ACTION_WEB_SEARCH
Activity Package com.google.android.googlequicksearchbox
Activity Class com.google.android.googlequicksearchbox.SearchActivity

and as value I first would try something simple like How is the weather today?

Taifun

2 Likes