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:

See: 



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
browser:

D/InetAddress(  847):
mc8tdi0ripmbpds25eboaupdulritrp6.friendconnect.gmodules.com:
74.125.79.118 (family 2, proto 6)
D/WebCore (  847): Console: TypeError: Result of expression
'window.opener' [null] is not an object. line: 6 source:
http://mc8tdi0ripmbpds25eboaupdulritrp6.friendconnect.gmodules.com/ps/confirm/refresh?st=e%3DAOG8GaA5fvYldAd45Sa0%252Fzr2D45KPfKYlGspUYctKVO1YNx6HYJPjM9%2D5dWvWgHx8wepT9VniUMoiF4Uv%252FTTGaHZ2MRTe7DD42BWuLDbbHynOqtokXgrgbK3BI4%252FAof7Iy9kMz89ZGHu9dCUAVJ3sFnIqxU42TEfx%252FSqdpIlt%252BePpFL7NcEhIO0JfiZXwwfqJClJ4eI1W%252FPgrfTz9Tz6r2b7KdmmFqtweKQRpkwsw5Fkyrsu87nsUls9%252FIeymvRKExhLiHTSszzdE31wtXlz2TpMWtUVED4EkMl6IMVoE6%252F%252BmHcFH6oBLnh9Xl6EdbBh9i2vOmaJm0U8SRIJo%26c%3Dpeoplesense

Anyone seen this before?
Thanks!
Tom.
--~--~---------~--~----~------------~-------~--~----~

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