[android-developers] Re: Accelerometer OnSensorChanged() no longer occur in standby

2009-08-30 Thread polymorph
uation with the Hero, which won't continue with these OnSensorChanged() messages even when a WakeLock is in place. On Aug 30, 5:44 pm, Mark Murphy wrote: > polymorph wrote: > > It's in a background service which does get called for GPS location > > changes and other thin

[android-developers] Re: Accelerometer OnSensorChanged() no longer occur in standby

2009-08-30 Thread polymorph
> Where in the documentation does it say that sensor readings will wake up > the device to call your code? Hi Mark, It's in a background service which does get called for GPS location changes and other things while in standby, so I'd expect it to do so for the sensor changes too (as it did used t

[android-developers] Re: Accelerometer OnSensorChanged() no longer occur in standby

2009-08-30 Thread polymorph
Yes, I hope they manage to get this fix rolled in very soon! I don't have a Magic anymore, but I had a Developer friend try a Partial wakelock on his, and it did work, so that does seem to be a temporary workaround on that. However it doesn't solve it for the Hero, and I don't know if the Samsun

[android-developers] Re: Accelerometer OnSensorChanged() no longer occur in standby

2009-08-30 Thread polymorph
Yes, I already have a bug report in for this: http://code.google.com/p/android/issues/detail?id=3708 On Aug 30, 8:11 am, Alexander Kosenkov wrote: > I have posted bugreport to Android: > > http://code.google.com/p/android/issues/detail?id=3717 > > Please vote up or add comments if you face wi

[android-developers] Re: Accelerometer OnSensorChanged() no longer occur in standby

2009-08-29 Thread polymorph
Thanks for the reply, but this didn't seem to work for me on either the Magic or Hero when I tried partial wake locks (you mentioned trying on ADP1, ie a G1 - have you tried it on any other handsets?) It has worked in the past without any requirement on a wake lock as well, so I believe somethi

[android-developers] Accelerometer OnSensorChanged() no longer occur in standby

2009-08-28 Thread polymorph
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 re