Android 2.1 Sensors with screen off

by Jamie » Mon, 15 Feb 2010 21:41:13 GMT

Sponsored Links

I am writing an application for the Nexus One where I require the
accelerometer and/or the orientation sensor to remain active while the
screen is off. I have taken a partial wake lock, but it is quite clear
that as soon as the screen goes off any sensor updates stop.

I have searched this forum and it appears this was an issue previously
which was fixed in Cupcake. Is this a new bug in 2.1 or is this a
limitation of the handset (or even a deliberate design decision?)

Thanks in advance,



Other Threads

1. What I do with my G1

I love my G1 works great and this is what I do with my G1

pictures from a G1 look great. look at that flower!!!!

Please share what amazing pictures this phone can take
with the world


2. how to run apk in archos5IT

I spent long hour searching but not finding... so I post.
I would like to know how to run a HelloWorld.apk directly on my
Archos5IT and not on the emulator... doesn't work at all !!! I
developed an application and I would like to try it On my archos, but
doesn't work, so I went down to the HelloWorld but nothing works...
I moved the .apk in the "download" folder. When installing, I have the
message: "Application not installed: helloWord could not be installed
on this device"

any ideas?

Thanks so much for your help



3. Windows 7 & Android development environment question

4. The problem of using GData APIs to upload video to YouTube.

5. customer changes phone, wants app again but market doesn't show app as purchased

6. ps3 remote control

7. Permission denied for installing apk in phone