Android App Actions不适用于语音命令 [英] Android App Actions does not work with voice command

查看:203
本文介绍了Android App Actions不适用于语音命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的Android应用中实施应用操作和切片(以实现)。我正在使用 App Actions测试工具测试该功能,当我在该工具中单击运行时,该切片会立即加载,但该切片不适用于Voice命令。
是可用于使用语音命令启动slice的功能。我已经在游戏商店中发布了一个草稿,并使用了Android Studio和助手的相同帐户。



期望该切片将使用意图的语音命令启动

解决方案

是的,它应该适用于大多数App Action,但是,您需要使用正确的短语进行测试。如果您可以通过,以及START和STOP练习App Action,因为它们应该可以可靠运行。



I am trying to implement app actions and slice (for fulfillment) in my android app. I am testing the feature with "App Actions Test Tool" and the slice loads up immediate when I hit "Run" in the tool but the Slice does not work with the Voice command. Is the feature available to launch slice using voice command. I already have a draft posted on play store and using the same account for Android studio and the assistant.

Expected that the slice would launch with the voice command of the intent

解决方案

Yes, it should work for most App Actions, however, you will need to test with the correct phrase. Some App Actions may also not work correctly via voice at this time, if so you can file a bug here.

To test this out:

  1. Review the test phrases under each built-in intent in the documentation here.

  2. Configure or check your invocation name in the Studio Test Tool plugin:

  3. Invoke the test phrase with your invocation name by speaking or by typing (typing can be easier for testing initially).

  4. I recommend you try first with the Fit Actions sample app along with the START and STOP exercise App Actions as these should work reliably.

这篇关于Android App Actions不适用于语音命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆