Grab ANDROID_ID from (i think) System.Settings.Secure, which will come back
with a unique phone identifier, or null on the emulator :)
- Dan
On Thu, Oct 15, 2009 at 5:38 PM, Wayne Wenthin wa...@fuligin.com wrote:
Is there a way to tell if you are running in the emulator?
--
Writing code is
Thanks. I figure that was how I needed to do it. Already using the
Android_ID so a quick change should be all I need to do.
On Thu, Oct 15, 2009 at 2:43 PM, Dan Sherman impact...@gmail.com wrote:
Grab ANDROID_ID from (i think) System.Settings.Secure, which will come back
with a unique phone
I don't know if this would help you, but one way is to read the number
of sensors
http://code.google.com/android/reference/android/hardware/SensorManager.html#getSensors()
. This is 0 on the emulator, and should be some number 0 on a real
device, provided that the device has sensors (which the
3 matches
Mail list logo