android tv-Building TV Games
The television screen presents a number of considerations that may be new to mobile game developers. These areas include its large size, its control scheme, and the fact that all players are viewing it simultaneously.
A TV is always sideways: You can’t turn it, and there is no portrait orientation. Always design your
TV games to be displayed in landscape mode.
Not all game controllers provide Start, Search, or Menu buttons. Be sure your UI does not depend upon the use of these buttons.
The Android TV home screen displays games in a separate row from regular apps. To make your game appear in the list of games, set the android:isGame
attribute
to "true"
in your app manifest's <application>
tag. For
example:
<application ... android:isGame="true" ... >
Games controllers may not be available or active for users of a TV device. In order to properly inform users that your game supports a game controller, you must include the following entry in your app manifest:
<uses-feature android:name="android.hardware.gamepad" android:required="false"/>
Note: When specifying android:hardware:gamepad
support, do not set the android:required
attribute to"true"
. If you do this, users won’t be able to install your app on TV devices.
Provide a consistent and obvious UI element that lets the user exit the game gracefully. This element
should be accessible with the D-pad navigation buttons. Do this instead of relying on the Home button to provide an exit, as that is not consistent nor reliable across different controllers.
Do not enable web browsing in games for Android TV. Android TV does not support a web browser.
Note: You can use the WebView
class for logins to services like Google+
and Facebook.
相關文章
- Android TV-Building Layouts for TVAndroidUI
- android TV-Building TV Channels,Developing a TV Input ServiceAndroidUIdev
- Android TV-Building TV Apps,Get Started with TV AppsAndroidUIAPP
- android TV-Building a Details View,Displaying a Now Playing CardAndroidUIAIView
- Android TV開發——RecyclerView For TVAndroidView
- Android TVAndroid
- android tv-TV Apps ChecklistAndroidAPP
- Android TV-Handling TV HardwareAndroid
- Android TV-Creating TV NavigationAndroidNavigation
- android TV-Recommending TV Content,Android
- android TV-Making TV Apps Searchable,Searching within TV AppsAndroidAPP
- Android Jetpack - Android TV 應用開發教程AndroidJetpack
- Android TV開發總結【RecycleView】AndroidView
- android TV-Working with Channel DataAndroid
- android tv-Managing User InteractionAndroid
- 一起看 I/O | Google TV 和 Android TV OS 的最新進展GoAndroid
- stf 怎麼使用在 android tv 上Android
- Android TV版小米盒子專版亮相Android
- Android TV端RecyclerView焦點亂跑AndroidView
- [譯]利用 Android 構建 TV 的未來Android
- [譯] 利用 Android 構建 TV 的未來Android
- [譯]SearchFragment --Android TV 開發手冊十二FragmentAndroid
- games in iOSGAMiOS
- 聊聊真實的 Android TV 開發技術棧Android
- 如何在Android TV 桌面新增自定義頻道/節目Android
- 小米和Google合作:Android TV版小米盒子進軍美國GoAndroid
- Java TV MHPJava
- Android TV版電視盒子亮相 小米和Google看著樂AndroidGo
- android TV - Creating a Catalog Browser,Providing a Card ViewAndroidView
- PcMagazine:羅技TV、谷歌TV、Roku XDS三大網際網路TV引數對比谷歌
- Android TV曝出bug 或導致使用者私人照片洩露Android TV新漏洞:你的照片可能出現在他人的電視中!Android
- Google:Android TV月活裝置數已超8000萬臺GoAndroid
- [譯]Recommendation card (推薦卡)--Android TV 開發手冊十一Android
- 鬥魚TV回應直播造人 鬥魚TV直播造娃娃事件始末事件
- 蘋果最新的Apple TV怎麼樣?全新Apple TV解析蘋果APP
- Android TV最新動態:電視廠商和晶片合作伙伴公佈Android晶片
- Epic Games收購《糖豆人:終極挑戰賽》開發商Tonic Games GroupGAM
- Games101-2 transformGAMORM