What's new
  • Welcome to PHCorner Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as: All that and more! Registration is quick, simple and absolutely free. Join our community today!

Slide unlock till pattern lock gets activated after interval

Status
Not open for further replies.

PHC-Emersonbt

Eternal Poster
Joined
Jan 11, 2012
Messages
1,372
Reaction score
3,764
Good eve share ko lang po ito,hope it will help.

Using Jelly Bean, 4.1.1, on a Galaxy Nexus,You lock the phone.the first 5 minutes, if you try to unlock, you can just slide and unlock it; after that, you have to enter a pattern.

You have to use a PIN or a password, not a pattern. My solution depends on the apps You must register or login to view this. (You must register or login to view this.) and You must register or login to view this.

Posting a complete how-to on Tasker is beyond the scope.Instead,You must register or login to view this.
and links to You must register or login to view this.solution involves setting up two Tasker profiles. The first one sets the PIN or password after a timeout. The second one clears the PIN/password once the screen is unlocked.

Code:
Profile: Screen Locked (98)
	Event: Display Off
Enter: Anon (106)
	A1: Wait [ MS:0 Seconds:0 Minutes:5 Hours:0 Days:0 ]
	A2: If [ %SCREEN ~ off ]
	A3: Secure Settings [ Configuration:Set Pin Package:com.intangibleobject.securesettings.plugin Name:Secure Settings ]
	A4: End If
 
Profile: Screen Unlocked (107)
	Event: Display Unlocked
Enter: Anon (108)
	A1: Secure Settings [ Configuration:Clear Password Package:com.intangibleobject.securesettings.plugin Name:Secure Settings ]
Once you've got Tasker configured, go to your phone settings and set slide unlock (and set he timeout to be whatever you find to be an appropriate amount of time for the slide lock to come up) . Note that when the password/PIN is enabled, you'll first have to slide unlock, and then enter your PIN/password.

And this is also credited to :Scott Severance

hope it will help you guys.(y)
 
Status
Not open for further replies.

Unanswered Topics

Top