Good news! I upgraded my device to cupcake, and it appears that I can
now receive onSensorChanged events when the screen is off, provided
that I hold a Partial Wake Lock.
However, the sampling frequency seems to be far more sporadic. I think
that it has to do with the fact that cupcake now flips
Known but not resolved. Even in the bug report that is mentioned in
the thread that you quoted, the only response has been "things might
have changed in cupcake". Of course determining what has changed, or
if this specific problem has been fixed requires wiping the phone and
installing cupcake*, w
This is a known issue.
See this thread:
http://groups.google.com/group/android-developers/browse_thread/thread/1b7202c957084742
On Apr 17, 4:18 am, David Burström wrote:
> Hi Jordan,
>
> I can only agree with your findings. Regardless of which lock is being
> used, the service stops sending ca
Hi Jordan,
I can only agree with your findings. Regardless of which lock is being
used, the service stops sending callbacks as soon as the screen turns
off or the power button is pressed.
:David
On Mar 16, 3:01 pm, Jordan Frank wrote:
> A partial wakelock doesn't help because, as I have alread
A partial wakelock doesn't help because, as I have already explained,
as soon as the display goes off, the accelerometers go off. I can keep
the CPU awake, and my program continues to run when the display is
off. However, as soon as the display goes off, the accelerometers go
silent.
So this is w
That's why you'd use a *partial* wakelock.
On Sun, Mar 15, 2009 at 6:57 AM, Jordan Frank wrote:
>
> My fault for not explaining myself better. I want to still be able to
> collect accelerometer data while the display is off. I'm well aware of
> the fact that I can keep the display on, but if I
My fault for not explaining myself better. I want to still be able to
collect accelerometer data while the display is off. I'm well aware of
the fact that I can keep the display on, but if I want to, for
instance, create a pedometer application that counts footsteps while
in the user's pocket, the
http://developer.android.com/reference/android/os/PowerManager.WakeLock.html
On Sat, Mar 14, 2009 at 8:23 PM, Jordan Frank wrote:
>
> Hi,
>
> Although I haven't received confirmation from anyone at Google, I can
> confidently state that when the power to the display goes off, one can
> no longer
8 matches
Mail list logo