In the android we can see that there is a default “google search” on the launcher. And I found out that using setting, we can set the searchable items. For example amazon kindle, music, or browser.
The question is, how can I add my app into the searchable items in the google search? Are there any APIs I can use?
Exactly, the first thing you do is provide a
searchable.xmlresource to Android. How this is done is described here.Next, you have to declare an Activity to be searchable in your Manifest, like so: