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 wrote:
> Is there a way to tell if you are running in the emulator?
>
> --
> Writing code is one of few thi
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 wrote:
> Grab ANDROID_ID from (i think) System.Settings.Secure, which will come back
> with a unique phone identifier, or nu
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 G
On 30 sep, 17:22, Peli <[EMAIL PROTECTED]> wrote:
> I don't know if this would help you, but one way is to read the number
> of
> sensorshttp://code.google.com/android/reference/android/hardware/SensorManag...()
> . This is 0 on the emulator, and should be some number >0 on a real
> device, provi
4 matches
Mail list logo