is Kindle Fire - Android Hardware

Android examples for Hardware:Vendor

Description

is Kindle Fire

Demo Code


//package com.java2s;

public class Main {
    public static boolean isKindleFire() {
        return android.os.Build.MANUFACTURER.equals("Amazon")
                && (android.os.Build.MODEL.equals("Kindle Fire") || android.os.Build.MODEL
                        .startsWith("KF"));
    }/*w ww.  jav  a  2 s.c  om*/
}

Related Tutorials