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?
On Jun 23, 3:54 pm, anduser1 <[EMAIL PROTECTED]> wrote: > How do I check in my Java app whether it is running on an android > platform or just any other Linux distribution on a PC? > > Thanks, > Dave --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---