Java tutorial
//package com.java2s; import android.os.Build; public class Main { /** Check if location come from emulator */ private static boolean isEmualtor() { return "google_sdk".equals(Build.PRODUCT); } }