Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Android TV development

Android TV development

Talk from Riga Dev Day 2015

David Vávra

January 27, 2015
Tweet

More Decks by David Vávra

Other Decks in Programming

Transcript

  1. Hardware Nexus Player available in Google Play in US and

    Canada. Price: $99 Intel Atom 1.8Ghz Quad-core with graphics, 1 GB RAM, 8 GB flash All 2015 4K and smart TV models. All 2015 Philips TV models. All 2015 UB and UH series models. Razer Forge TV - gaming console, Snapdragon quad-core 2.5Ghz + Ardeno GPU, available in Q1 2015 for $99, 4 controllers, “lapboard”
  2. Basics Full Android Lollipop Emulator Hardware-limited (GPS, telephony,...) <manifest package="cz.destil.moodsync">

    <uses-feature android:name="android.software.leanback" android:required="false" /> <uses-feature android:name="android.hardware.touchscreen" android:required="false" /> <application android:banner="@drawable/banner" android:theme="@style/Theme.Leanback"> <activity android:name=".activity.MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category. LEANBACK_LAUNCHER"/> </intent-filter> </activity> </application> </manifest>
  3. Controllers 4 directions, SELECT, BACK, HOME @Override public boolean dispatchGenericMotionEvent(MotionEvent

    ev) @Override public boolean dispatchKeyEvent(KeyEvent event) Multiple controllers android:configChanges="keyboard|keyboardHidden|navigation" <uses-feature android:name="android.hardware.gamepad"/>