0

Possible Duplicate:
How can I unlock the screen programmatically in Android?

I have a running android Service. It runs even on the lockscreen, and I want it to somehow Unlock the lockscreen.

How can I interface with the lockscreen activity or whatever the lockscreen is?

I want my service to Unlock the lockscreen, just like if the user slided the unlock thing.

How might I do this?

Community
  • 1
  • 1
renanleandrof
  • 6,699
  • 9
  • 45
  • 67

1 Answers1

0

got it and here are some suggestions you can try:

First

Second

Third and probably most reliable

Community
  • 1
  • 1
DArkO
  • 15,880
  • 12
  • 60
  • 88
  • Yeah, i already saw those topics... The Keyguard only works to lock or unlock the KEYS. It doesn't allow me to interact with the lockscreen – renanleandrof May 19 '11 at 13:28
  • and how exactly do you want to interact with the unlock screen? the same way the user touches. you want to be able to slide it? thats not possible. this is all you get. sorry. – DArkO May 19 '11 at 13:51
  • I don't want to "slide it" programmatically, but i want to send an "unlock" event programmatically... The same event that is thrown when the user slides it! =] – renanleandrof May 19 '11 at 14:31
  • 1
    Well thats also not possible as far as i know. i sure hope that somebody will prove me wrong on this one. – DArkO May 19 '11 at 14:58