is Kindle Fire Gen - Android Hardware

Android examples for Hardware:Vendor

Description

is Kindle Fire Gen

Demo Code


//package com.java2s;

import android.os.Build;

public class Main {
    public static boolean isKindleFireGen1() {
        return (isKindle())
                && (("Kindle Fire".equals(Build.MODEL)) || ("KFOT"
                        .equals(Build.MODEL)));
    }//from   w w  w . j a  v  a2  s . c o  m

    public static boolean isKindle() {
        return "Amazon".equals(Build.MANUFACTURER);
    }
}

Related Tutorials