- You can code for device-specific appearance or behavior and have your app detect the device on which it is running.
- You can customize the navigation and the way focus is shown.
Providing a Device-Specific Experience
An app or web page can read the user agent string to detect a specific solution, and then provide a specific user experience. User agent strings can include the version of the host operating system, the version of the browser, and other information. The user agent strings for the web app solution on Fire TV are nearly identical to the strings on Fire tablets, but with a differing device model identifier. Also see the following sources of information:- For a list of non–Fire TV user agent strings, see the “Web App Development” section of Amazon Web Apps Frequently Asked Questions.
- For the rules for the device model and how to detect current and future Amazon Fire TV devices, see Identify Fire TV Devices.
Using a CSS to Customize the Appearance of Your Web App
It is important that you style focused items on a page in a way which clearly signifies that a subsequent press on the center button would select it. The default selection indicators (yellow border and/or blue background) are not recommended and should be customized on a per-application basis. To define this styling, developers should use the CSSfocus property.

