简体   繁体   English

如何使用Google Assistant触发我的申请

[英]How do I use Google assistant to trigger my application

I am trying to build a simple app which can be triggered by google assistant. 我正在尝试构建一个可以由Google Assistant触发的简单应用。 Like if the users say, "Hey Google, Open TestApp" or "Hey Google, perform xyz from TestApp". 就像用户说“嘿Google,打开TestApp”或“嘿Google,从TestApp执行xyz”一样。 What would be the best approach? 最好的方法是什么? Dialogflow? Dialogflow?

Saying "Okay, Google - do [something] with [your app]" in order to open your app to fulfill a query is called a Google Voice Action and you can add these to your app quite easily. 说“好吧,Google-使用[您的应用]进行某些操作”以打开您的应用来执行查询,这称为Google语音操作,您可以轻松地将它们添加到您的应用中。 See the documentation here for full details. 有关完整的详细信息,请参见此处的文档。 Keep in mind - for these to work, your app does need to be in the Play Store, uploaded as a beta at the very least. 请记住-为使这些功能正常工作,您的应用程序确实需要在Play商店中,至少要以Beta版本上传。

The Google Assistant is a little bit different - it's more conversational and doesn't take the user directly to your app. Google助理有点不同-它更具对话性,不会直接将用户带到您的应用程序。 Instead, it takes the user's input, looks for the appropriate app to handle the query, feeds the query to your app, and then returns the response, within Google Assistant itself. 相反,它需要用户输入,寻找合适的应用程序来处理查询,将查询输入到您的应用程序中,然后在Google Assistant自身中返回响应。 This is all about having a conversation with an app, from the Google Assistant, without actually opening up your app. 这就是在不实际打开应用程序的情况下通过Google Assistant与应用程序进行对话的全部过程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何让谷歌助手识别我的自定义意图? - How do I get google assistant to recognize my custom intent? Google 助理未检测到我的应用程序 - Google assistant is not detecting my application 如何将Google Assistant集成到Android的本机应用程序中? - how to integrate google assistant in android for native application? 如何使用谷歌助手在应用程序导航 - How to do in app navigation using google assistant 如何使用android通过语音命令(谷歌助手)在我的android应用程序中打开指定的活动 - How to open a specified activity inside my android application through voice command( google assistant) using android 如何为我的Android应用程序启用Google广告? - How Do I Turn Google Ads For My Android Application? 如何将我的android应用程序的消息发布到Google Reader - How do I post a message my android application to Google Reader 可以从我自己的 Xamerin Android 应用程序启动 Google 助理吗? - Possible to launch the Google Assistant from my own Xamerin Android application? 如何从Google Assistant获取文本,以便我可以解析文本以执行某些操作? - How can I get text from Google Assistant so that I can parse the text to do certain action? 我怎么知道我的应用是由 Google 助理打开的,而不是正常启动的 - How can I know that my app was opened by Google Assistant, instead of just normally launched
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM