Keyguard does not unlock when intent fires while user is at home screen

by Rob Franz » Fri, 10 Apr 2009 23:41:22 GMT

Sponsored Links
I have a pendingIntent that, when it is launched and the user is at
the home screen with the keyguard locked and screen off, it does not
always unlock the screen even after calling disableKeyguard.

If the user is still in the application and the intent launches, I
acquire the wakelock and the keyguard is unlocked w/disableKeyguard
with no problem in onResume.

It only seems that when the user is outside of the application and the
intent launches, I acquire the wakelock, but the keyguard does not
always unlock - even though I'm calling disableKeyguard in onResume.

Anyone seen this behavior before?  Or am I using this incorrectly?



Other Threads

1. Does the g1 support play music into gsm channels

Correct. On the HTC Dream there is a dedicated PCM audio link from the
baseband to the Bluetooth chip for this purpose. The apps processor is
not involved in the in-call audio path. This is typical of most mobile


2. Determining the firmware version

Is there any way to determine the version of Android that an app is running

The reason being my latest idea was to turn off my on-screen keypad when
running on cupcake. The problem is the firmware version shown on the about
screen comes from android.os.Build.VERSION which appears to be a private

Does anyone know anywhere else it can be obtained from in an approved



* Written an Android App? - List it at *

Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 


3. OpenGL What Cube Face Is Facing Me

4. Switching from Landscape to Portrait orientation

5. any way to debug the service in system_server?

6. adb ppp

7. UI improvements in next versions.