Android 2.1 Sensors with screen off

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


Sponsored Links
 Hi,

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,

Jamie

--



Other Threads

1. Dynamic layout changing

Hi guys,

Is it possible to for android to dynamically change its layout?  Like
for instance, if I want to be able to dynamically add a new button to
a toolbar and have the toolbar shrink/grow based on how many buttons
are in it, is it possible with android's current sdk?

Thanks,

Cory

2. Using a raw resource as a ringtone without transfering to SD card

Is it possible to use a raw resource as a ringtone/notification tone
without transfering it to the sd card first?

3. Disable History

4. Background processes for tracking system status

5. Android supporting higher resolutions and bigger screens? 7"

6. Install apk files on Acer aspire one d250

7. Animating 2 objects at the same time