is ZTE - Android android.system

Android examples for android.system:Os Version

Description

is ZTE

Demo Code

import android.os.Build;

public class Main{


    public static boolean isZTE() {
        try {/*from  w  w  w  .  j ava  2s  . c  o  m*/
            return Build.BRAND.toLowerCase().contains("zte");
        } catch (Exception e) {
            e.printStackTrace();
            return false;
        }
    }

}

Related Tutorials