I suppose you're talking about "the" emulator - one of those you've
created yourself on your development system.
In that case, just put a specially named file on the emulator's memory
card, or even within the application's private data file space (to avoid
adding the external storage permission). Have the code check for the
file's existence and do something different if it exists.
-- Kostya
19.07.2011 20:40, kamiseq пишет:
hej,
I would like to have something in application I can tell that app is
running in emulator or in existing device, something like system
property
I need to switch off/replace some functionality when app is running on
emulator. such as callback for orientation listener - this will never
be triggered on emulator
--
Kostya Vasilyev
--
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en