【问题标题】:How to do in app navigation using google assistant如何使用谷歌助手进行应用导航
【发布时间】:2019-10-21 03:56:46
【问题描述】:

我已使用 google 和对话流代理的操作从 google 助手将用户登录到我的应用程序中。但是,我想知道是否有一种方法可以使用谷歌助手从登陆视图导航到不同的片段。例如,假设谷歌助手已经将用户带到了购物应用的搜索页面,现在我想通过将产品添加到购物车中来将他导航到购物车。因此,如果用户正常使用该应用程序,那将只是单击“添加到购物车”按钮。那么,有没有一种方法可以使用谷歌助手触发该按钮的单击?

【问题讨论】:

    标签: android actions-on-google google-assistant-sdk


    【解决方案1】:

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

    目前不支持应用与 Google 助理之间的通信。

    【讨论】:

    • If your GA is built upon Dialog flow API (specifically not using action-on-google), then you can use Dialog flow Android client in your Android App to communicate with Dialog flow Agent. 这是上述链接中答案的一部分。知道怎么做吗?
    • 我的解释是,您可以直接在您的应用程序中使用 DialogFlow 的 API。因此,在您的应用中,您将拥有某种语音转文本或聊天机器人 UI,并且您的应用会直接向 DialogFlow 发送请求,而无需经过 GA
    猜你喜欢
    • 2017-10-22
    • 1970-01-01
    • 2018-07-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-09-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多