Hi,
I want to enable your tool to unlock the Android device (Samsung S4, I9505, rooted - root function are activated in your app) by using a NFC badge.
This means
- to press power butten (to activate NFC function - this step works by using a modified nfc-service-apk),
- than to read the defined NFC badge (this step works)
- which activates an Automagic flow (this step works)
- to deactivate the passphrase (instead of typing-in a long passphrase)
- and as well to bypass the lockscreen and to see immediately the homescreen.
- After pressing the power-button or time-defined the device locks down again (so without the NFC-badge the passphrase is necessary).
Please can you let me know how to achive this.
I was trying the Lock-Flow, but it dosn't seem to work.
I can use deactivate keyguard, but then the lockscreen itself is still active.
Also I am not sure how to enable the lockscreen later again.
Important: I would like to use a passphrase or alternatevely the pattern.
Thanks in advance.
NFC and autologin (unlock)
Moderator: Martin
Re: NFC and autologin (unlock)
Hi,
Unfortunately I don't have an S4 test device and the official APIs used in action Set Keyguard State are known to behave strange at times (the official API will probably be removed in a future Android release).
Please follow the steps to see if the action Set Keyguard State: Off works on the S4:
-ensure you have enabled some kind of lock screen in the Android settings
-create a new empty flow in Automagic, add an action Set Keyguard State: Off and execute the flow manually (menu->Execute)
-press the power button to turn off the screen and turn on again. The device should not display the lockscreen or keyguard.
-create a new empty flow in Automagic, add an action Set Keyguard State: On and execute the flow manually. The lockscreen should be shown immediately.
If the above steps work, you could build following flows:
Flow1
-trigger NFC Tag
-action Set Keyguard State: Off
-action Show Home Screen
Flow2
-trigger Display State: Off
-action Set Keyguard State: On
Regards,
Martin
Unfortunately I don't have an S4 test device and the official APIs used in action Set Keyguard State are known to behave strange at times (the official API will probably be removed in a future Android release).
Please follow the steps to see if the action Set Keyguard State: Off works on the S4:
-ensure you have enabled some kind of lock screen in the Android settings
-create a new empty flow in Automagic, add an action Set Keyguard State: Off and execute the flow manually (menu->Execute)
-press the power button to turn off the screen and turn on again. The device should not display the lockscreen or keyguard.
-create a new empty flow in Automagic, add an action Set Keyguard State: On and execute the flow manually. The lockscreen should be shown immediately.
If the above steps work, you could build following flows:
Flow1
-trigger NFC Tag
-action Set Keyguard State: Off
-action Show Home Screen
Flow2
-trigger Display State: Off
-action Set Keyguard State: On
Regards,
Martin
-
- Posts: 2
- Joined: 25 Jun 2013 10:42
Re: NFC and autologin (unlock)
First of all thanks, but at the same time sorry. It did not work - so I tried the same with Tasker and it worked like a charm.
But again - thanks for your help...
But again - thanks for your help...