Knock code

Post your questions and help other users.

Moderator: Martin

Post Reply
Ra9om1ak
Posts: 32
Joined: 06 May 2013 14:26

Knock code

Post by Ra9om1ak » 23 Jul 2015 10:48

Hello
How to make a flow: when phone is connected to defined wifi, knock code is off?
Thx.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Knock code

Post by Martin » 24 Jul 2015 10:59

Hi,

To my knowledge there's no official API in Android to turn knock code on/off.
You can check action Set System Setting, maybe the manufacturer defined a system setting for this that can be toggle with the action.

You could also try to use action Set Keyguard State: On/Off to bypass the lock screen. Due to bugs in Android this action does not work properly on many newer Android devices so it might not be a solution.

Regards,
Martin

Post Reply