One of the most visually impressive uses of an NFC ring like McLear's is the ability to automatically unlock the phone (bypassing the PIN/Password) when the phone is placed in your hand, and then having the phone automatically relock once it's out of your hand. Getting this set up is slightly involved, so here's a guide on how to do it.

Here's a video demonstration of what the process below enables:

What you'll need:

-A rooted Android phone with the NFC service modified to allow for constant polling and tag removal detection.
-A modified version of AnyTAG NFC Launcher
-Secure Settings with the Helper installed

The first step will be to find a modified NFC apk for your phone. There are many modified NFC apks that allow for polling while the screen is off, but you might have trouble finding one for your phone that allows detection of tag removal. Details of the modification procedure are outlined in the XDA thread above. If your phone can't detect tag removal, you won't be able to automatically relock the phone when it's taken out of your hand.

Once that's done, install the modified AnyTAG NFC Launcher application, Tasker and Secure Settings.

1) Open Tasker and create a task named 'Unlock' with the following items:
To select a secure settings plugin, tap on 'plugin' in Tasker's select action prompt. This task turns on the screen and bypasses lockscreen security.

2) In Tasker, create a second task named 'Lock' with the following items:
 This task turns off the screen and re-enables lockscreen security.

 3) In Tasker, create a third task named 'Check' with the following items:
This task prevents an unlock/lock loop by making sure that the Lock task doesn't run while the Unlock task is still running. This solution does not function without the Check task.

4) Open AnyTAG NFC launcher and read your NFC ring - do not remove it from your phone's reading area yet! Configure the tag to launch the Tasker task 'Unlock'.

5) Once you've finished configuring the tag in AnyTAG, remove the ring from your phone. This should prompt you to configure the tag again. Configure this tag to launch the Tasker task 'Check'.

I'm not a Tasker expert. This solution is a bit shaky, but it works. There's definitely still room for improvement. If you've found a better way to do this, feel free to leave a comment.

Follow NFC Brief on Twitter to stay informed about the latest in NFC technology:

Leave a Reply