Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 612
Seanonymous Avatar asked Apr 10 '13 16:04

Seanonymous


People also ask

Why don t some apps appear in Google Play store?

The most common explanation for why you can't download certain apps from Google Play is that the app's developers have marked it as "incompatible" with your device. You'll see a message stating "this app is not available for your device" or "this app is not available for any of your devices" in this case.


2 Answers

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.

like image 151
ianhanniballake Avatar answered Sep 21 '22 14:09

ianhanniballake


I, too, was looking for how to do this.

Turns out, adding your app to global search no longer works in KitKat and was removed in this commit: https://android.googlesource.com/platform/packages/apps/QuickSearchBox/+/ecf356c15143ab0583c64682de16d94a57f7dd1c

like image 29
Foxichu Avatar answered Sep 21 '22 14:09

Foxichu