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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s