Sep
So I purchased Tasker last year, and honestly I installed it, had a quick peek at it and uninstalled it. It seemed like a little more than I wanted to learn at the time, but luckily a couple nights ago I decided to give it another shot. I have to say, so far I’m pleased with the results. I started my mission to make a quick Task to disable my PIN when i’m connected to my Home WiFi Network, and it’s working flawlessly so far! I looked around the internet and landed on this post over at Android Forums. Unfamiliar with how tasker works I started playing with it and eventually figured it out changing the settings on UncleMike’s profile a little bit. Here’s what I did…
To get started you will need two apps, the first
the second
Tasker is the app that will allow us to automate the lock/unlock feature, and Secure Settings is a nice little plugin that adds the feature to enable/disable PIN lock.
I’m using two profile’s here, and i’ll explain why in a bit..
Profile: Lock OFF
State: Wifi Connected [ SSID:ssid1/ssid2 MAC:* IP:* ]
A1: Secure Settings [ Configuration:Clear Password/Wait For Unlock ]
Profile: Lock ON
State: Not Wifi Connected [ SSID:ssid1/ssid2 MAC:* IP:* ]
A1: Secure Settings [ Configuration:Set Pin ]
First open up Tasker and click the green plus on the bottom middle of the app to create a new profile, and name it Lock OFF. Click the green checkmark.
Now choose State/Net/Wifi Connected, and enter the name of your network in the SSID Field, if you have more than one network use this format “Netowork1/Newtork2″. Click the green checkmart.
Select New Task, you don’t need to name it so just click the green check again. Click the blue plus in the lower left corner of the popup to add an Action. Choose Plugin/Secure Settings, click the Edit button next to Configuration. All the way down under DEV ADMIN ACTIONS chools Password/Pin. Check Device Admin Enabled, and Check Enter password once before unlocking. Click the Save icon in the lower left corner. Now click the green check. Click the green check again.
Your Lock OFF profile is complete. This will disable your PIN/Password when your connected to your Home WiFi Network. The enter password once option will require you to enter your PIN once when you connect to your WiFi before disabling the PIN, so if someone finds your phone, simply bringing it in range to your WiFi network won’t unlock it.
Now Lets Set up your Lock ON Profile
Open up Tasker and click the green plus on the bottom middle of the app to create a new profile, and name it Lock ON. Click the green checkmark.
Now choose State/Net/Wifi Connected, and enter the name of your network in the SSID Field, if you have more than one network use this format “Netowork1/Newtork2″. IMPORNTANT!! Check the checkbox next to Invert at the bottom. Click the green checkmart.
Select New Task, you don’t need to name it so just click the green check again. Click the blue plus in the lower left corner of the popup to add an Action. Choose Plugin/Secure Settings, click the Edit button next to Configuration. All the way down under DEV ADMIN ACTIONS chools Password/Pin. Press the button at the top so it says Enabled, make sure Device Admin Enabled is checked. Choose Password or PIN, enter your Password/PIN. Click the Save icon in the lower left corner. Now click the green check. Click the green check again.
Your Lock ON profile is complete. This will enable your PIN/Password when you disconnect from your Home WiFi Network. In the lower left corner click the green check and Tasker will save your profiles and close.
Congrats!, it was that easy, now go test it out!! Also note restarting your phone with WiFi on or off will still require a PIN for the first unlock!
Explanation for using two profiles from UncleMike at Android Forums
The reason I’m using two separate profiles, instead of a single profile with both an Enter and Exit task is that by using a single “Wifi Connected” profile, if the device is turned off while the PIN lock is disabled, and next turned on when out of Wifi range, the PIN would remain disabled (the profile would not exit during shutdown, or during startup). A single “Not Wifi Connected” profile with both an Enter and Exit task would possibly go the other way, meaning that if the device is turned off when out of range, then turned on when in range, the PIN might not be disabled (much safer than the other way, but still not ideal).
With that all said, to me $6.49 US for Tasker was definitely worth the price for the convenience, not to mention all the other things you can do with it. I would also recommend purchasing the Pro version of Secure Settings, again well worth the money spent!








