[英]App Action working via App Action Tool Plugin but not with voice command in Google Assistant Screen
Logged in using the same credentials (Android Studio, Google Console, Real Device - Samsung s10+) and Device language set to EN-US.使用相同的凭据(Android Studio、Google 控制台、Real Device - Samsung s10+)登录,并将设备语言设置为 EN-US。
Selected App Action tool plugin from the tools menu从工具菜单中选择的 App Action 工具插件
Gave invocation name (todo app) and locale to En-US将调用名称(待办事项应用程序)和语言环境提供给 En-US
Changed default feature "History" with my command (In my case "Open active tasks in todo app")使用我的命令更改了默认功能“历史记录”(在我的情况下是“在待办事项应用程序中打开活动任务”)
Tapped on Update Preview.点击更新预览。
Once the preview updated, Run the command via the AATT tool, it's working perfectly.更新预览后,通过 AATT 工具运行命令,它运行良好。
Once the preview updated successfully, Opened the Google Assistant on a Real device and gave a voice command (Open active tasks in todo app), but it's showing web results on the Assistant screen instead of showing my App.成功更新预览后,在真实设备上打开 Google 助手并发出语音命令(在待办事项应用中打开活动任务),但它在助手屏幕上显示 web 结果,而不是显示我的应用。 Attached screenshot for reference.
附上截图供参考。
Please let me know if I'm missing anything here.如果我在这里遗漏任何东西,请告诉我。
I could able to achieve it using GET_THINGS Built-In Intent.我可以使用 GET_THINGS 内置意图来实现它。 OPEN_APP Intent supports only a single word.
OPEN_APP Intent 仅支持单个单词。 If your requirement is to say multiple words like "Show alerts for today in TestApp", then we can use GET_THINGS Intent, which supports multiple words.
如果您的要求是说多个单词,例如“在 TestApp 中显示今天的警报”,那么我们可以使用 GET_THINGS Intent,它支持多个单词。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.