5 thoughts on “Android: Determine if running in emulator

  1. i dont see a class called SystemProperties in android, and don’t see that property in System.getProperty()… where do you get this property?

    Like

  2. boolean inEmulator = “generic”.equals(Build.BRAND);

    (Note that Build.MODEL is not “google_sdk” for Google’s Cupcake emulator (it’s “sdk”), and it’s other things for 3-rd party emulators (like Samsung’s Galaxy Tab and Sony Erikson’s EDK).

    Like

Leave a comment