0

How to unlock device when its locked after certain amount of time,programmatically?

I want to trigger an daemon thread in background to unlock the device if its locked, after x interval of time in android 4x.

Is this doable programmatically?

Regards

Shishir.bobby
  • 10,994
  • 21
  • 71
  • 100
  • Refer this--->http://stackoverflow.com/questions/1959012/how-can-i-unlock-the-screen-programmatically-in-android – BobDroid Mar 09 '12 at 08:36
  • and this too--->http://stackoverflow.com/questions/9004720/unlock-android-phone-programmatically – BobDroid Mar 09 '12 at 08:37

1 Answers1

1

there's an app in the market that can do this, so my guess would be: yes

EDIT: How to display Activity when the screen is locked?

Community
  • 1
  • 1
Andreas
  • 2,007
  • 5
  • 26
  • 37
  • i got this helpful link http://developer.android.com/reference/android/app/KeyguardManager.KeyguardLock.html this might help.But i was thinking, what if device is password enabled locked? – Shishir.bobby Mar 09 '12 at 08:55
  • It only works when there is no password. Google isn't going to put anything into android that completely circumvents the security :D – Andreas Mar 09 '12 at 09:01