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
 Hi,
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?

Thanks


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Fast Scroll drag handle similar to Contacts ListView

I have a ListView which contains over a thousand entries (sorted from
A to Z) and want to know how to scroll this quickly similar to how the
Contacts list can be scrolled quickly (by dragging the handle that
appears on the right hand side of the screen).

How can this be achieved? Is it an option for the view, or do I have
to implement it? Alternatively, is it possible to see the source of
the Contacts ListView as I could probably reuse that.

Thanks.

--~--~---------~--~----~------------~-------~--~----~

2. How to get android fs from sdk1.0

Hello,
   I am trying to port android1.0 to my omap2430 board. I have ported the
android m5-rc14 file system, and it works well.
   But when I tried to extract the file system from 1.0 as I did from
m5-rc14. the android's shell reports "Read-only file system". Any suggestion
to solve it?

   Thanks very much!

Jerry

--~--~---------~--~----~------------~-------~--~----~

3. Exchange Server Support

4. Adding frames into an Image

5. email attatchments

6. getListView().setTextFilterEnabled(true) get the filter text problem

7. My list of improvements.