Testing YouTube Android Player API on Android phone & Android TV

  I tested YouTube Android Player API on Android TV devices. Sadly it is not working well with Android TV’s YouTube app (“YouTube for Android TV”). Only YouTube App Launcher Intents works well for now (2016.1.14). YouTube Android Player API YouTube Android Player API is an official library on Google Developers web site, which enables us […]

Continue reading →

VerticalGridFragment
– Android TV application hands on tutorial 19

Showing icons on vertical alignment We learned BrowseFragment to show icons, where icons are aligned horizontally when the size increases. VerticalGridFragment is another Fragment provided by leanback support library, where it shows the icons with vertical alignment.   For example, I guess Sideload Launcher – Android TV is using this VerticalGridFragment to show installed app icons.  This post explains how […]

Continue reading →

BrowseFragment ListRow customization
– Android TV application hands on tutorial 18

More customization of BrowseFragment – Multiple rows icon alignment on ListRow Continuing from the previous chapter, BrowseFragment Header customization, I proceed to customizing ListRow. Chapter 17: Customizing Header Chapter 18: Customizing ListRow (we are here!) Leanback Launcher app shows multiple rows in Apps, Games bar if the number of icon is many (2 rows are used for “Apps” […]

Continue reading →

BrowseFragment Header customization
– Android TV application hands on tutorial 17

More customization of BrowseFragment – Showing icon beside the Header title The basic implementation of BrowseFragment is already explained in this tutorial. I’m going to proceed some advanced customization in following chapters. Chapter 17: Customizing Header (we are here!) Chapter 18: Customizing ListRow Aim is to change the design of header, to show icons on the left […]

Continue reading →

Background data loading
– Android TV application hands on tutorial 15

Background data loading using Loader class This Tutorial was explaining about Leanback support library, which is usually used to show list of contents information. So developers may want to load a many meta data to show contents. When Activity or Fragment need to prepare big size of data, it is better to load the data in background. For this purpose, […]

Continue reading →

Data loading from web
– Android TV application hands on tutorial 16

  * You can see the JSON video data used in this post at here: https://raw.githubusercontent.com/corochann/AndroidTVappTutorial/master/app/src/main/assets/video_lists.json  Manage data online, keep updated. In the previous chapter, Background data loading – Android TV application hands on tutorial 15, I introduced LoaderManager and Loader class which helps to load/prepare (maybe time consuming) data in background. One of the example […]

Continue reading →

Finding videos, photos, musics which you can use freely

When I’m doing personal project, or making some documents, it always bother me how to find out contents (icons, videos, photos/pictures, musics) in accordance with copy right issues.  However, you don’t need to worry about copy right issues with contents under CC0 (public domain) license. Here, I will list up some links which is under Creative Commons license. Videos/Photos When […]

Continue reading →

Fast, easy Parcelable implementation with Android studio Parcelable plugin

Starting from conclusion Use Parcelable class is always encouraged for better performance, while it is much easier to use Serializable class for fast checking/implementation. Easy & fast implementation of Parcelable? → Use Android studio plug-in! Serializable and Parcelable difference Serializable & Parcelable class can be used to pass object references from one Activity to the other Activity via Intent/Bundle. Your […]

Continue reading →

Importing Android SDK with hidden APIs

How to import ActivityManagerNative? My first motivation was to use AndroidManagerNative class, even you can find this class in Android open source project, you can’t use it in our app when you build with usual Android SDK. Yes, some of the classes are hidden in SDK. More specifically, $SDK_PATH/platforms/android-xx/android.jar contains limited APIs for Android app developers. […]

Continue reading →