Java tutorial
//package com.java2s; import android.os.Build; public class Main { public static boolean checkIncVersion(String fingerprinter, String product) { return (Build.FINGERPRINT.equals(fingerprinter) && (Build.DEVICE.equals(product) || Build.PRODUCT.equals(product))); } }