is Hua Wei - Android Hardware

Android examples for Hardware:Vendor

Description

is Hua Wei

Demo Code


//package com.java2s;

import android.os.Build;

public class Main {
    private static final String MODEL = Build.MODEL.toLowerCase();
    private static final String MANUFACTURER = Build.MANUFACTURER
            .toLowerCase();// w w  w.  ja v a  2  s  . co  m

    public static boolean isHuaWei8500() {
        return MANUFACTURER.equalsIgnoreCase("huawei")
                && MODEL.contains("c8500");
    }
}

Related Tutorials