Tag, to supply a default banner for all application activities, or with the For best practices onĭesiging a great launch point for your app and detailed asset requirements, see the To add these to your app, describe the icon and banner in the manifest as follows:Īndroid TV apps, like all Android apps, must provide a home screen icon. Point that appears on the home screen in the apps and games rows. Otherwise, your app doesn't appear in Google Play on TVĪndroid TV apps must provide both a home screen icon and a banner image for each localization.ĭepending on the Android TV device, either the icon or banner is used as the app launch The following code example shows how to include this manifest declaration:Ĭaution: In your app manifest, you must declare that a touch screen is not required,Īs shown this example code. This setting identifies your app as beingĪble to work on a TV device, and it is required for your app to be considered a TV app in Google To make this clear, your TV app's manifest must declare that theĪ feature is not required. To true, your app can only run on devices that use the Leanback UI.Īpplications that are intended to run on TV devices don't rely on touch screens for input. If yourĪpp runs on mobile as well as Android TV, set the Implementation requirements for interface layouts on TV, see Build TV layouts.ĭeclare that your app uses the Leanback user interface required by Android TV. For guidelines on designing an app for TV, see Designing for TV. If you are modifying an existing app for use on TV, don't use the sameĪctivity layout for TV that you use for phones and tablets. Using a remote control from 10 feet away. Your TV app's user interface, or the TV portion of your existing app, must provide a simple interface for easy navigation Also, if yourĪpp doesn't have this filter when you use developer tools to load it onto a TV device, the appĭoes not appear in the TV user interface. Your app, it's not visible to users running Google Play on TV devices. The second activity manifest entry in this example specifies that it is the activity toĬATEGORY_LEANBACK_LAUNCHER intent filter in The following code snippet shows how to include this intent filter in your manifest: This intent identifies which activity to launch. When a user selects your app on their TV home screen, This filter identifies your app as being enabled for TV and lets It uses a CATEGORY_LEANBACK_LAUNCHER intentįilter to do this. Project that targets Android 5.0 (API level 21) or higher.Īn application intended to run on TV devices must declare a launcher activity for TV To access new APIs for TV devices, create a project or modify an existing The updated platform version provides new APIs for TV apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |