Android应用程序集成与谷歌确定应用程序、Android

2023-09-05 08:37:12 作者:宿命弄人ㄨ

有没有办法发出语音命令是这样的:

Is there a way to issue a voice command something like:

确定GOOGLE ASK XXX一些应用程序的具体问题或Command

OK GOOGLE ASK XXX Some App Specific Question or Command

和拥有它推出APP与识别的文本:一些应用程序特定的问题或指令

And have it launch "APP" with the recognized text: "Some App Specific Question or Command"

我的应用程序有语音识别作为一种服务......但使用我的应用程序,当我不能问的问题是确定谷歌可以处理......

My app has speech recognition as a service ... but when using my APP I can't ask questions that OK Google can handle ...

推荐答案

通过语音操作API ,您的应用程序可以注册系统操作中,其中一个是搜索(这样你就可以做上搜索APP有些问题或指令)。

Through the Voice Actions API, your app can register for system actions, one of which is 'search' (so you could do 'search for Some Question or command on APP').

但是,如果没有一个系统操作的工作,你也可以提交自定义语音操作申请。经批准后,用户可以做通过语音您的应用程序特定的操作。

However, if none of the system actions work, you can also submit a custom voice action request. Upon approval, users could do a specific action with your app via voice.