Android 5.0 Based on Lollipop … Android 7.0 Recording API Form Factors Built-in TV , STBs Android TV = Android Opportunities Games Video Streaming Content Experience Shopping Existing TV Devices ~1.8 Billion +100 to 200M connected TVs Announced in 2014 Google I/O Install Base Millions of devices (Google I/O 2016) 100s of models
support library Marshmallow 2015 Polished based on partner and developer feedback Recommendations API V17 Leanback support library update Brief history of Android TV Nougat 2016 Added advanced API Recents Picture in Picture Recording V17 Leanback library update
pre-built fragments for browsing and interacting with media catalogs Build for TV Help users find your content quickly with in-app searching. Make search easy Suggest content from your app to keep your users coming back. Recommendations Help users find your content quickly with in-app searching using VOICE.
— Implements most of the current features of Leanback — Adopts Model-View-Presenter approach — Full source on Github https://github.com/hitherejoe/Vineyard — Unit and User Interface Tests
on TV devices. It provides a number of important widgets (Fragments) for TV apps. Playback Overlay Display playback controls 13 GuidedStep Guide user through series of decisions \ Search Search and display results Grid Display videos in Vertical or horizontal grid Browse Display browse- able categories Details Leanback details screens android.support.v17.leanback <uses-feature android:name="android.software.leanback" android:required="true" /> // android:required=“false” // app that runs on mobile (phones, wearables, tablets, etc.)
outside of your app ( HomeScreen ) Recommendation Row is a high-visibility area on the Home screen where users can find fresh content. Extend IntentService and Use NotificationCompat.Builder.build (). Notification notification = New NotificationCompat .BigPictureStyle( new NotificationCompat .Builder(mContext) .setContentTitle(mTitle) ... .setExtras(extras)).build(); Bundle extras = new Bundle(); extras.putString(Notification.EXTRA_BACK GROUND_IMAGE_URI, backgroundUri); 1 2 3