Java tutorial
//package com.java2s; //License from project: Apache License import android.os.Build; public class Main { private static boolean isEmulator() { return Build.HARDWARE.contains("goldfish"); } }