Android examples for Phone:Phone Information
is Galaxy Note
//package com.java2s; import android.os.Build; public class Main { static Boolean isSamsungGalaxyNote = null; public static boolean isGalaxyNote() { if (isSamsungGalaxyNote == null) { final String FINGERPRINT = "samsung/GT-N7000/GT-N7000:2.3.5/GINGERBREAD/ZSKJ6:user/release-keys"; final String MODEL = "GT-N7000"; if (Build.FINGERPRINT.equals(FINGERPRINT) || Build.FINGERPRINT.contains(MODEL)) { isSamsungGalaxyNote = true; } else { isSamsungGalaxyNote = false; }// w ww .j a v a 2 s. co m } return isSamsungGalaxyNote; } }