Unlock Device
Moderator: Martin
Unlock Device
Hi,
I saw that there is an action to lock my device, but there seems to be no (direct?) way to unlock it. I used this feature in my Llama rules and it would be great if Automagic also offered it.
Regards,
db
I saw that there is an action to lock my device, but there seems to be no (direct?) way to unlock it. I used this feature in my Llama rules and it would be great if Automagic also offered it.
Regards,
db
Re: Unlock Device
I'm able to "unlock" my device by using the Set Keyguard State (Off) and Turn Screen On (Bright) actions. However, the Set Keyguard State "is not officially supported by Android and might not work on all devices." (see action's help).
Remember to re-enable the Keyguard with the Set Keyguard State (On) to restore the lock screen functionality after previously unlocking it or you'll never see without a restart.
I use this method to turn on my screen, bypass the lock screen, and display my home screen whenever I dock my phone. I then re-enable the lock screen upon removing my phone from the docking station.
Hopefully the Set Keyboard State action will work for your device.
Remember to re-enable the Keyguard with the Set Keyguard State (On) to restore the lock screen functionality after previously unlocking it or you'll never see without a restart.
I use this method to turn on my screen, bypass the lock screen, and display my home screen whenever I dock my phone. I then re-enable the lock screen upon removing my phone from the docking station.
Hopefully the Set Keyboard State action will work for your device.
Re: Unlock Device
Thanks for the answer. I had tried this before and it worked for me. But you have to make sure that the keyguard gets turned on again otherwise you have a major security problem. Sure you can write a corresponding trigger to turn it on again, but when there are complex triggers involved I would have a bad feeling
I would just like to have the device unlocked once.
I also think we should have a "builtin" for it in order to have a portable solution.
That's why I made my post.
I would just like to have the device unlocked once.
I also think we should have a "builtin" for it in order to have a portable solution.
That's why I made my post.
-
- Posts: 5
- Joined: 21 Mar 2013 19:04
Re: Unlock Device
Ich würde eine Unlock-Screen-Funktion ebenfalls sehr begrüßen, da die oben erwähnte Prozedur auf meinem S1 mit Tsunami X 4.6 nicht funktioniert.
Re: Unlock Device
Da sind wir ja schon drei , siehe http://automagic4android.com/forum/view ... f=6&t=1756
Re: Unlock Device
I did not yet find a function/API in Android to do this.
Does anyone know of an app available in Google Play that managed to implement this properly?
If you have a rooted device then you can try to use "Execute Root Command: input keyevent 82" to pass the slide-to-unlock-keyguard.
For pin-lock you can use:
-"Execute Root Command: input text 1234" to enter the pin
-"Execute Root Command: input keyevent 66" to press the enter key
Does anyone know of an app available in Google Play that managed to implement this properly?
If you have a rooted device then you can try to use "Execute Root Command: input keyevent 82" to pass the slide-to-unlock-keyguard.
For pin-lock you can use:
-"Execute Root Command: input text 1234" to enter the pin
-"Execute Root Command: input keyevent 66" to press the enter key
Re: Unlock Device
As I indicated in my original post the LLama app ("Llama - Location Profiles") provides such a function and it works just fine.
Re: Unlock Device
I am not an Android programming guru so I tried to google for solutions: Does http://stackoverflow.com/questions/1435 ... mmatically give a hint to a solution?
-
- Posts: 53
- Joined: 17 Mar 2013 16:08
Re: Unlock Device
The app 'Unlock with WiFi' does a very good job in managing this task. It removes the PIN code
at home and add itback again when leaving. No root rights for. The descriptions to security behind
the scene shows: The authors is a pro. But even with this app you have to unlock by moving
the circle to the right. No PIN entering anymore, fine, but no prevent of locking.
at home and add itback again when leaving. No root rights for. The descriptions to security behind
the scene shows: The authors is a pro. But even with this app you have to unlock by moving
the circle to the right. No PIN entering anymore, fine, but no prevent of locking.
Re: Unlock Device
Llama does not require any manual interaction. You just get your homescreen and there you go...