is Zte - Android Hardware

Android examples for Hardware:Vendor

Description

is Zte

Demo Code


import android.os.Build;

public class Main {

  public static boolean isZte() {
    return getDeviceModel().toLowerCase().indexOf("zte") != -1;
  }//from w  ww . j a  v a 2s .  co  m

  public static String getDeviceModel() {
    return Build.MODEL;
  }
}

Related Tutorials