is Samsung - Android Hardware

Android examples for Hardware:Vendor

Description

is Samsung

Demo Code

import android.os.Build;

public class Main {

  public static boolean isSamsung() {
    return getManufacturer().toLowerCase().indexOf("samsung") != -1;
  }/*  w ww  . ja v  a2s  .c  om*/

  public static String getManufacturer() {
    return Build.MANUFACTURER;
  }
}

Related Tutorials