Under what condition would you not be running an Android app on Dalvik? The emulator doesn't use your native JVM, it uses Dalvik as well.
On Jun 24, 11:52 am, kobica <[EMAIL PROTECTED]> wrote: > On Jun 24, 11:49 am, Josh Guilfoyle <[EMAIL PROTECTED]> wrote: > > > You mean check if it's running on a real device or on the emulator? > > One approach currently might be to check if the IMEI number is 0, > > though I suspect they will fix that in the future. Perhaps there is > > another system property which could also be used as a heuristic? > > How about checking if we are running on Delvik VM or Sun Java VM ? > Is there anyway to query a property that distinguish one VM from the > other? > > Thanks, > Kobi. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---