Check out:

http://developer.android.com/reference/android/os/Build.html

you can use various parameters, like if:

Build.TYPE.equals( "sdk")

however this topic belongs in the Android developers group:

http://groups.google.com/group/android-developers

On May 11, 5:39 pm, JK <[email protected]> wrote:
> Hello,
>
> Does anybody happen to know of a way to determine if my code is
> running in an emulator vs. a real device at run-time programatically?
>
> I searched all over the documentation and couldn't find anything.
>
> Thanks for any help you can provide :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to