is Google TV - Android android.content.pm

Android examples for android.content.pm:PackageManager

Description

is Google TV

Demo Code

import android.content.Context;

public class Main{

    public static boolean isGoogleTV(final Context theContext) {
        return theContext.getPackageManager().hasSystemFeature(
                "com.google.android.tv");
    }/*from w w  w .  ja v a 2s.  c o  m*/

}

Related Tutorials