Update News

***TOP NEWS * How to delete google search? Give the offer GOOGLE

Monday 16 March 2015

Building Live TV Apps

Building Live TV Apps

YOU SHOULD ALSO READ

Watching live television shows and other continuous, channel-based content is a big part of the TV experience. Android supports receiving and playback of live video content through the TV Input Framework in Android 5.0 (API level 21). This framework provides a unified method for receiving audio and video channel content from hardware sources, such as HDMI ports and built-in-tuners, and software sources, such as video streamed over the internet.
The framework enables developers to define live TV input sources by implementing a TV input service. This service publishes a list of channels and programs to the TV Provider. The live TV app on a TV device gets the list of available channels and programs from the TV Provider and displays them to a user. When a user selects a specific channel, the live TV app creates a session for the associated TV input service through the TV Input Manager, and tells the TV input service to tune to the requested channel and play the content to a display surface provided by the TV app.
Figure 1. Functional diagram of the TV Input Framework
The TV Input Framework is designed to provide access to a wide variety of live TV input sources and bring them together in a single user interface for users to browse, view, and enjoy content. Building a TV input service for your content can help make it more accessible on TV devices.
For more information about TV Input Framework, see the android.media.tv reference.

TV Apps Checklist

Users enjoy the TV app experience when it is consistent, logical, and predictable. They should be able to navigate within your app and throughout Android TV without getting lost or having to "reset" the UI and start over. Users appreciate clear, colorful, and functional interfaces that make the experience magical. With these ideas in mind, you can create an app that fits nicely in Android TV and performs as users expect.
This checklist covers the main aspects of development for both apps and games and provides guidelines to ensure that your app provides the best possible experience. Additional considerations for games only are covered in the Gamessection.
For criteria that qualify an Android TV app on Google Play, seeTV App Quality.

TV Form Factor Support


These checklist items apply to Games and Apps.
  1. Identify the main TV activity with the CATEGORY_LEANBACK_LAUNCHER filter in the manifest.
  2. Provide a home screen banner for each language supported by your app
    • Launcher app banner measures 320x180 px
    • Banner resource is located in the drawables/xhdpi directory
    • Banner image includes localized text to identify the app.
  3. Eliminate requirements for unsupported hardware in your app.
  4. Ensure permissions do not imply hardware requirements

User Interface Design


These checklist items apply to Games and Apps.
  1. Provide appropriate layout resources for landscape mode.
  2. Ensure that text and controls are large enough to be visible from a distance.
  3. Provide high-resolution bitmaps and icons for HDTV screens.
  4. Make sure your icons and logo conform to Android TV specifications.
  5. Allow for overscan in your layout.
    See Overscan.
  6. Make every UI element work with both D-pad and game controllers.
  7. Change the background image as users browse through content.
  8. Customize the background color to match your branding in Leanback fragments.
  9. Ensure that your UI does not require a touch screen.
  10. Follow guidelines for effective advertising.

Search and Content Discovery


These checklist items apply to Games and Apps.
  1. Provide search results from your app in the Android TV global search box.
  2. Provide TV-specific data fields for search.
  3. Make sure your app presents discovered content in a details screen that lets the user start watching the content immediately.
  4. Put relevant, actionable content and categories on the main screen, making it easy to discover content.

Games


These checklist items apply to Games.
  1. Show your game on the home screen with the isGame flag in the manifest.
  2. Make sure game controller support does not depend upon the Start, Select, or Menu buttons (not all controllers have these).
  3. Use a generic gamepad graphic (without specific controller branding) to show game button mappings.
  4. Check for both ethernet and WiFi connectivity.
    See Networking.
  5. Provide users with a clean exit.
    See Exit.

No comments:

Post a Comment