问题描述
我建立一个Android应用程序,并希望整合能力使用语音与谷歌在此描述的。之前,我推应用程序来Play商店,是有办法来测试我的意图过滤器( com.google.android.gms.actions.SEARCH_ACTION
),搜索EX pression处理等?我跟着文档和包括意图过滤器,如下
<活动机器人:名称=。SearchActivity>
<意向滤光器>
<作用机器人:名称=com.google.android.gms.actions.SEARCH_ACTION/>
<类机器人:名称=android.intent.category.DEFAULT/>
&所述; /意图滤光器>
< /活性GT;
是的,你可以使用亚洲开发银行
活动管理器使用下面的语法来触发活动:
I am building an Android app and would like to integrate the ability to search using voice with Google Now Actions as described in this blog post. Before I push the app to the Play Store, is there a way to test my intent filter (com.google.android.gms.actions.SEARCH_ACTION
), search expression handling, etc.? I've followed the documentation and included the intent filter as below:
<activity android:name=".SearchActivity">
<intent-filter>
<action android:name="com.google.android.gms.actions.SEARCH_ACTION" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
Yes, you can use adb
activity manager to trigger the activity using the syntax below:
这篇关于我怎样才能触发com.google.android.gms.actions.SEARCH_ACTION谷歌现在的动作进行测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!