Hi,
I have written an application (a service) that uses the accelerometer
to detect movement, and up until recently this has worked fine when
the device was in standby.   It has been regularly tested on HTC G1
and Magic and tested specifically to work under these conditions, but
it seems that a recent Firmware upgrade may have broken this (my Magic
stopped working in this scenario since the last firmware I think, a
few weeks ago).  I have recently acquired an HTC Hero and this also
fails to get the notifications.

What seems to occur now, is that the
SensorEventListener.OnSensorChanged() messages are not occuring at all
in standby, and they continue once the device is switched back on.

The application also checks for other changes such as GPS location
changes, and these continue to work in standby, so I would expect the
sensor messages to also continue to get through as they did
previously.

I have tried a wakelock, but only the full, screen-on wakelock allows
it to work, which is undesirable behaviour.

Can anyone help?  This has effectively broken my Android Market
application :(

--~--~---------~--~----~------------~-------~--~----~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to