Install CPU-Z on Android TV

Now Android TV is working on Android platform. Some may be interested in CPU, memory, harddisk information about your TV. We can check these CPU, memory, sensor information.. with Android application app, e.g. “CPU-Z”. Again, I tested installing CPU-Z app for Android phone app by using this Technique. I test with SONY BRAVIA 2015 model Android TV, “KDL-43W800C“. CPU information Kernel Version, Memory (RAM), Internal Storage (HDD info) are available. * This post is workaround for testing Android TV. It does not mean that this post guarantee the behavior of introduced apps on Android TV. The tips written here is not officially supported, and I don’t take any responsibility caused […]

Continue reading →

GuidedStepFragment
– Android TV app hands on tutorial 10

FirstStepFragment

GuidedStepFragment to show Settings display Leanback support library offers a Fragment. Especially, it is useful to use in settings display. Official doc says, A GuidedStepFragment is used to guide the user through a decision or series of decisions.  I also recommend you to read these references for this topic. GuidedStepFragment – official Android developwers site Building for Android TV – Episode 4 Create GuidedStepActivity & Implement onItemClicked in MainFragment At first, create GuidedStepActivity by right click your package name New → Java Class → type “GuidedStepActivity” in class name. Note that this GuidedStepActivity doesn’t require res/layout xml file, so it is ok to only create Java class. Make this class […]

Continue reading →

Install Spotify on Android TV

device-2015-07-23-214329

Install Spotify Android phone app on Android TV At the time of writing, official spotify app for Android TV is not released yet. But I tested installing Spotify app for Android phone app by using this Technique. As a result, I could stream music without any big problem. At the first time of launching app, you need to log in. You may need to use USB mouse & USB keyboard because remote controller is not enough to press some button sometimes. Also, Now playing card will appear when you go back to Leanback Launcher display. Further more, you can use skipToNext & skipToPrevious Media button at Leanback Launcher display!!   […]

Continue reading →

Can we control background video playback on Leanback Launcher by remote controller?

I’m testing Google’s sample app https://github.com/googlesamples/androidtv-Leanback. After start playing video and go back to Leanback Launcher home display, it keeps playing in background with now playing card. I found pause key stops background video and changes back to normal background, and only after that MediaSession callback is working.After background changes to normal Leanback Launcher background paper, play/pause button changes the video status of now playing card, However background is not video but normal display… Is there a way to show video in background with this condition? See below video for the behavior I’m writing about. When background video playback changes to normal background, I’m pressing pause button on Leanback Launcher display. After that, […]

Continue reading →

How to enable developer mode in Android TV

Android TV is of course Android, so we can enable developer mode in the same way with Android phones & tablets. Go to “Settings” at the bottom of LeanbackLauncher Select “About” icon at the top row, most right side Press “Build” button, located at the bottom for 7 times. Go back “Home” and Go to “Settings” again, Developer options are now available on the System Preferences row, right most side. That’s all!   Appendix By the way, each Android version have hidden playful app, you can check it on your Android TV as well. Go to Settings → About → Version and press Version for many times, you can enjoy […]

Continue reading →

Install Android phone’s application to Android TV

[2016.3.13 added] This post explains sideloading apps via USB. It is also possible to transfer file via Wifi. See Install Android phone’s app on Android TV via Wifi. Extract & install apk file using ES file explorer If you have Android phone, you can extract .apk file (Android application file) and try to move it to your Android TV. I recommend to use “ES file explorer” to extract & install apk file. Get apps that you want to install in your Android phone from Google play. Get .apk file from Your Android phone using ES file explorer app on Android phone. <Reference> – Using ES File Explorer To Make APK Backups […]

Continue reading →

MediaSession & MediaController
– Android TV app hands on Tutorial 9

Video Controls implementation with MediaSession The sample implementation is done in Google’s latest sample Android TV application. AOSP sample application implementation does not have MediaSession implementation yet (in API 21, 22). In previous chapter, I explained that following Video controls are needed to be impmented. Action’s UI update part (done in previous chapter) Video control part (done in previous chapter) MediaSession implementation, Video control via MediaController’s TransportControls (this chapter) – MediaSession can handle the action when user presses TV remote controller’s video control button. – It allows other activity to inherite video control. Especially LeanbackLauncher, Home display, can play video in background.   set MediaMetadata to MediaSession (this chapter) – “Now playing card” will appear at […]

Continue reading →

Video Controls minimum implementation
– Android TV app hands on Tutorial 8

action_icon_change-2015-07-21-164408

Video Controls minimum implementation Video is streamed in VideoView. * I referred Google’s latest sample Android TV application. AOSP sample application implementation is defferent. For Video controls, we have several stuff to explain. Action’s UI update part (this chapter) Video control part (this chapter) MediaSession implementation, Video control via MediaController’s TransportControls (next chapter)– MediaSession can handle the action when user presses TV remote controller’s video control button.– It allows other activity to inherite video control. Especially LeanbackLauncher, Home display, can play video in background.   set MediaMetadata to MediaSession (next chapter) – “Now playing card” will appear at the top of recommendation row. In this chapter, Video controls implementation is explained. Since Google’s sample […]

Continue reading →