棉花糖(Android 6.0)上的ACTION_ASSIST意图 [英] ACTION_ASSIST intent on Marshmallow (Android 6.0)
问题描述
是否可以在Android 6.0上使用ACTION_ASSIST
(现在为Google)意图?
Is there a way to use the ACTION_ASSIST
(Google now) intent on Android 6.0?
我认为这可能会随着立即启动"功能而改变-但也许(希望如此)仍然有一种方法可以挂接到该功能上.
I think this might have changed with the now on tap feature - but perhaps (hopefully) there is still a way to hook into this.
推荐答案
如已声明戴安娜·哈克伯恩(Dianne Hackborn):
As stated by Dianne Hackborn:
不建议使用ACTION_ASSIST,但是如果您关闭了新助手,则可以选择使用旧的ACTION_ASSIST助手来代替(然后还可以选择一个旧的语音识别器).
ACTION_ASSIST is deprecated, though if you turn off the new assistant you can select an old ACTION_ASSIST assistant to use instead (and then also get to select an old voice recognizer).
您可以在此处选择一个自定义应用程序,而不是Google即时:
You can choose a custom application, instead Google Now, here:
Settings -> Apps -> Default Apps -> Assist & voice input -> Assist app
这篇关于棉花糖(Android 6.0)上的ACTION_ASSIST意图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!