the "ro.qemu" properly is defined when running in the emulator, and not the
device.

however, be *very* cautious about making different code path for emulator
and device cases. this is generally not a good idea (and since no devices
are available, you device-specific code is never going to run as you may
expect it, and not get tested properly)

On Wed, Apr 2, 2008 at 5:27 PM, Brendan <[EMAIL PROTECTED]> wrote:

>
>
> Is there someway in code to tell if an application is running on the
> emulator, on the device. I can't see how it coul dbe checked. Maybe
> there is something in SystemProperties? If not, it would be a useful
> extra flag to have available in a future version of the SDK.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to