How do I get my app to appear in Google Now's Phone Search list?

后端 未结 3 931
日久生厌
日久生厌 2021-01-05 07:48

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

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-05 08:31

    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.

提交回复
热议问题