I dispositivi TV offrono numerose opzioni di intrattenimento con migliaia di opzioni tra app e servizi di contenuti correlati. Allo stesso tempo, la maggior parte degli utenti preferisce usare una TV con la minima quantità di input possibile. Con così tante opzioni a disposizione, la tua app dovrebbe fornire agli utenti percorsi facili e veloci per scoprire e apprezzare i tuoi contenuti.
Puoi aiutare gli utenti a scoprire i tuoi contenuti tramite i consigli sulla schermata Home, rendendo la tua app disponibile per la ricerca e integrando i tuoi contenuti con l'Assistente Google. Questo argomento fornisce una panoramica di ciascuna di queste aree e contiene link ad argomenti e risorse correlati per ulteriori informazioni.
Consigliare contenuti sulla schermata Home
La schermata Home di Android TV mostra i contenuti consigliati utilizzando canali e programmi. I canali vengono visualizzati come singole righe nella schermata Home, con schede che mostrano tutti i programmi disponibili per quel canale.
Per scoprire di più, consulta l'articolo Consigliare contenuti sulla schermata Home.
Rendi la tua app disponibile per la ricerca
Android TV utilizza l'interfaccia di ricerca di Android per recuperare i dati sui contenuti dalle app installate e fornire risultati di ricerca all'utente. I dati sui contenuti dell'app possono essere inclusi in questi risultati per fornire all'utente un accesso immediato ai contenuti della tua app.
Per scoprire di più, consulta l'articolo Rendere le app TV disponibili per la ricerca.
Eseguire l'integrazione con l'Assistente Google
La tua app può integrarsi con l'Assistente Google su Android TV implementando i controlli di ricerca e riproduzione. Per una panoramica generale, leggi questo post sul blog Android for Developers.
Cerca
L'Assistente Google può eseguire query sulla tua app se rendi l'app disponibile per la ricerca.
Tieni presente che il link diretto fornito all'Assistente Google deve essere un link universale o avere lo schema android-app://
.
Controlli di riproduzione
L'Assistente Google su Android TV utilizza una sessione multimediale per inviare comandi alla tua app.
Se usi ExoPlayer, puoi effettuare l'integrazione con l'Assistente Google facilmente utilizzando una MediaSessionConnector
, un'estensione di ExoPlayer. Per saperne di più, leggi questo post sul blog Android for Developers.
Risorse aggiuntive
Per scoprire di più su come aiutare gli utenti a trovare contenuti su Android TV, consulta le seguenti risorse aggiuntive.
Samples
In order to launch new features on their Android app, Headspace spent 8 months refactoring their architecture and rewriting in Kotlin. Learn how this reboot helped their business grow. SmartNews helps millions of people discover their world everyday by sharing timely news from a diverse set of news sources. Twitter is one of the most widely used social media platforms where users can see what’s happening in the world at any given moment. The Google Home app helps set up, manage, and control your Google Home, Google Nest, and Chromecast devices—plus thousands of connected home products like lights, cameras, thermostats, and more. Duolingo is one of the most popular language learning platforms in the world, and one of the most-downloaded free education apps on Google Play, with more than 200 million downloads.Headspace's Android reboot increases monthly active users by 15%
SmartNews reduces lines of code by 20% and improves team morale with Kotlin
Twitter increases developer productivity and code reliability with Kotlin
Google Home reduces #1 cause of crashes by 33%
Duolingo completes migration to Kotlin and reduces its line count by an average of 30%
Codelab
In order to launch new features on their Android app, Headspace spent 8 months refactoring their architecture and rewriting in Kotlin. Learn how this reboot helped their business grow. SmartNews helps millions of people discover their world everyday by sharing timely news from a diverse set of news sources. Twitter is one of the most widely used social media platforms where users can see what’s happening in the world at any given moment. The Google Home app helps set up, manage, and control your Google Home, Google Nest, and Chromecast devices—plus thousands of connected home products like lights, cameras, thermostats, and more. Duolingo is one of the most popular language learning platforms in the world, and one of the most-downloaded free education apps on Google Play, with more than 200 million downloads.Headspace's Android reboot increases monthly active users by 15%
SmartNews reduces lines of code by 20% and improves team morale with Kotlin
Twitter increases developer productivity and code reliability with Kotlin
Google Home reduces #1 cause of crashes by 33%
Duolingo completes migration to Kotlin and reduces its line count by an average of 30%
Blog
Updated 27 settembre 2021 In order to launch new features on their Android app, Headspace spent 8 months refactoring their architecture and rewriting in Kotlin. Learn how this reboot helped their business grow. Updated 6 gennaio 2021 SmartNews helps millions of people discover their world everyday by sharing timely news from a diverse set of news sources. Updated 21 ottobre 2020 Twitter is one of the most widely used social media platforms where users can see what’s happening in the world at any given moment. Updated 13 luglio 2020 The Google Home app helps set up, manage, and control your Google Home, Google Nest, and Chromecast devices—plus thousands of connected home products like lights, cameras, thermostats, and more. Updated 15 maggio 2020 Duolingo is one of the most popular language learning platforms in the world, and one of the most-downloaded free education apps on Google Play, with more than 200 million downloads.Headspace's Android reboot increases monthly active users by 15%
SmartNews reduces lines of code by 20% and improves team morale with Kotlin
Twitter increases developer productivity and code reliability with Kotlin
Google Home reduces #1 cause of crashes by 33%
Duolingo completes migration to Kotlin and reduces its line count by an average of 30%
Video
Updated 27 settembre 2021 Updated 6 gennaio 2021 Updated 21 ottobre 2020 Updated 13 luglio 2020 Updated 15 maggio 2020Headspace's Android reboot increases monthly active users by 15%
SmartNews reduces lines of code by 20% and improves team morale with Kotlin
Twitter increases developer productivity and code reliability with Kotlin
Google Home reduces #1 cause of crashes by 33%
Duolingo completes migration to Kotlin and reduces its line count by an average of 30%