Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/search/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 通过语音操作从助手启动我的应用程序_Android_Search_Voice_Assistant - Fatal编程技术网

Android 通过语音操作从助手启动我的应用程序

Android 通过语音操作从助手启动我的应用程序,android,search,voice,assistant,Android,Search,Voice,Assistant,我的生产应用程序正在使用com.google.android.gms.actions.SEARCH\u操作 至少在9月份之前,谷歌助手“在我的应用程序中搜索XY”是可能的,它从谷歌助手启动了我的应用程序。 意图是将XY作为SearchManager.QUERY 但现在这已经不起作用了。我没有在我的应用程序中集成应用程序索引 那么,我的问题是,除了注册com.google.android.gms.actions.SEARCH\u行动计划,是否还有其他必要的行动要从google Assistant启

我的生产应用程序正在使用com.google.android.gms.actions.SEARCH\u操作

至少在9月份之前,谷歌助手“在我的应用程序中搜索XY”是可能的,它从谷歌助手启动了我的应用程序。 意图是将XY作为SearchManager.QUERY

但现在这已经不起作用了。我没有在我的应用程序中集成应用程序索引

那么,我的问题是,除了注册com.google.android.gms.actions.SEARCH\u行动计划,是否还有其他必要的行动要从google Assistant启动

<activity
    android:name=".MainActivity"
    android:label="@string/app_name">
        <intent-filter>
            <action android:name="com.google.android.gms.actions.SEARCH_ACTION" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
</activity>