如何使我的应用程序出现在Google即时的“电话搜索"列表中? [英] How do I get my app to appear in Google Now's Phone Search list?

查看:105
本文介绍了如何使我的应用程序出现在Google即时的“电话搜索"列表中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我的应用程序能够处理来自Google即时的搜索请求,并显示在其电话搜索"列表中,但我找不到与此有关的任何文档.有人有可以提供的链接吗?

I want my app to be able to handle search requests from Google Now and appear in its Phone Search list, but I can't find any documentation on this. Does anyone have a link they can offer up?

推荐答案

您可以通过设置将应用程序添加到Google即时的电话搜索"中

You can add your application to the Phone Search in Google Now by setting

android:includeInGlobalSearch="true"

根据搜索建议,快速搜索框培训.

in your searchable.xml configuration file per the Searchable Configuration reference page. Google Now shares the same phone search options as previous versions of Android, which was often called the Quick Search Box. You'll probably also want to reference the Search Suggestions for the Quick Search Box training.

这篇关于如何使我的应用程序出现在Google即时的“电话搜索"列表中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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