is Chrome OS - Android Android OS

Android examples for Android OS:OS Build

Description

is Chrome OS

Demo Code


//package com.java2s;

import android.os.Build;

public class Main {
    public static boolean isChrome() {
        return Build.BRAND == "chromium" || Build.BRAND == "chrome";
    }//from  w w w. j a  va 2s . c  om
}

Related Tutorials