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

2016-06-10 Thread Amir Farazmand
@ Dianne Hackborn, this is a big issue and I guess deserves more than your wishy-washy answer. Android/Java are not just programming languages but cultures that define the people who dont want sticking to control freaks such as Steve Jobs and Bill Gates. Many people like to have this feature so

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

2012-08-06 Thread Pavel Brans
Hi all, Three years pased. We faced the same problem. Sensors turn off after turning off the screen. Wake lock does not always help. Is this bug fixed? In what version is it fixed (2х, 4x)? --- Regards, Pavel Konovalov пятница, 28 августа 2009 г., 18:04:11 UTC+3 пользователь

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

2009-08-30 Thread Alexander Kosenkov
I have exactly the same problem with Hero! My app works fine on G1 but does not receive accelerometer events on Hero in standby with partial lock. What could we do? Have you posted bugreport to Android? --~--~-~--~~~---~--~~ You received this message because you

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

2009-08-30 Thread Alexander Kosenkov
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 with this problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[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 alexan...@kosenkov.com wrote: I have posted bugreport to Android: http://code.google.com/p/android/issues/detail?id=3717 Please vote up or add

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

2009-08-30 Thread Yuri Dario
Hi, http://code.google.com/p/android/issues/detail?id=3708 this means my application in the Market is broken too. At least I need to update the description... this is really bad. Yuri --~--~-~--~~~---~--~~ You received this message because you are subscribed

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

2009-08-30 Thread Yuri Dario
http://code.google.com/p/android/issues/detail?id=3708 this means my application in the Market is broken too. At least I need to update the description... this is really bad. and worse, ADC2 is about to reach deadline. --~--~-~--~~~---~--~~ You received

[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

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

2009-08-30 Thread Mark Murphy
polymorph wrote: 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

[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 to

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

2009-08-30 Thread Mark Murphy
polymorph wrote: 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 to in standby). The subtle point I was trying to get across is that a regression in an

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

2009-08-30 Thread polymorph
Ok, thanks for the reply Mark. It seems the documentation doesn't state either way whether anything will or will not continue to function while in standby. I wonder if there's anyone from the Android team that could let me know the official stance on this? There's also the situation with the

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

2009-08-30 Thread Dianne Hackborn
You need to hold a partial wake lock if you want to ensure that the CPU continues to run while the screen is off. There are very, very few exceptions to this -- broadcasts received from the alarm manager being the big one. There may be a few other broadcasts that hold a wake lock for you while

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

2009-08-29 Thread Yuri Dario
Hi, I have tried a wakelock, but only the full, screen-on wakelock allows it to work, which is undesirable behaviour. my background service gets accelerometer events with a partial wake lock (and screen off). ADP1 with latest 1.5 firmware drop by HTC. bye, Yuri

[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

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

2009-08-29 Thread Yuri Dario
Hi, 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?) there are over 100 users now, so I think it works; I'll ask someone I know has a magic. It has worked in the past without any requirement on a wake lock