Accelerometer not running when phone goes in standby

by Jonathan » Wed, 14 Apr 2010 03:03:43 GMT

Sponsored Links
 According to earlier posts, it has been suggested that the
Accelerometer will no longer run in the background when the screen
turns off and the phone goes into standby unless a partial wake lock
is held:


Other Threads

1. window.opener' [null] is not an object

Hi group,

I have a webview with a FriendConnect button to allow a user to login
to FriendConnect.  When clicking on this button, I'm taken through the
expected screens for logging in.  However, it seems like the last
redirect after logging in fails with a Javascript error in the

D/InetAddress(  847): (family 2, proto 6)
D/WebCore (  847): Console: TypeError: Result of expression
'window.opener' [null] is not an object. line: 6 source:

Anyone seen this before?

2. A2DP ills

I'm attempting to write an A2DP toggle app (that way when I'm in the
car I can route the audio wired through my car stereo without having
to completely disable bluetooth for calls, etc.).  Eventually I plan
to have it detect when an external audio output is available, but for
now I'm fine with a manual toggle.  The problem is this: I can't stop
A2DP.  I've used both AudioManager.setBluetoothA2dpOn(boolean on) and
AudioManager.setRouting(int mode, int route, int mask).  No matter
what AudioManager.isBluetoothA2dpOn() always returns true, and audio
is always routed through the headset, not the speakers.
AudioManager.getRouting() is returning 18 when the headset is
connected (2 for speakers plus 16 for BluetoothA2DP).  Any advice?


3. missing standard features

4. slow g1 with android 1.5?

5. Testing on-boot services.

6. How to see the content of database on G1

7. Streaming video from phone