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?

  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).

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>