Android TV development

Android TV development

Talk from Riga Dev Day 2015

Fe087c5a0e898cd95c67973aa97f2067?s=128

David Vávra

January 27, 2015
Tweet

Transcript

  1. 5.

    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. 6.
  3. 10.
  4. 11.
  5. 12.
  6. 13.
  7. 16.

    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>
  8. 19.

    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"/>