What a coincidence!  I just figured this out yesterday:

  KeyguardManager km = (KeyguardManager) getSystemService
(KEYGUARD_SERVICE);
  KeyguardManager.KeyguardLock keylock = km.newKeyguardLock("Your
label here");
  keylock.disableKeyguard();

Todd Sjolander

On Jun 9, 12:16 pm, "[email protected]"
<[email protected]> wrote:
> Hi,
> My app requires alerts at certain events, which are very likely to
> happen while the screen is off. It captures those event perfectly,
> however, I'm struggling to hide the T-Mobile screen lock after I've
> acquired wake lock from the PowerManager. I've tried broadcasting
> Intent.ACTION_CLOSE_SYSTEM_DIALOGS, however, that seems not to work.
> Any ideas of how to fix that? Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to