Make TV apps searchable

Android TV uses the Android search interface to retrieve content data from installed apps and deliver search results to the user. Your app's content data can be included with these results to give the user instant access to the content in your app.

Your app must provide Android TV with the data fields from which Android TV can generate suggested search results as the user enters characters in the search dialog. To do that, your app must implement a Content Provider that serves up the suggestions along with a searchable.xml configuration file that describes the content provider and other vital information for Android TV. You also need an activity that handles the intent that fires when the user selects a suggested search result. For more detail, see Add custom search suggestions. This guide covers the main points specific to Android TV apps.

Before reading this guide, make sure you are familiar