is Xiao Mi Phone - Android Hardware

Android examples for Hardware:Vendor

Description

is Xiao Mi Phone

Demo Code


//package com.java2s;

import android.os.Build;

public class Main {
    public static boolean isXiaoMiPhone() {
        if ("xiaomi".equalsIgnoreCase(Build.BRAND)) {
            return true;
        }/*w  ww  .  j  a v  a2  s .c om*/
        return false;
    }
}

Related Tutorials