AutoUnlocker

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
Shin88
Posts: 5
Joined: 15 Jun 2013 11:29

AutoUnlocker

Post by Shin88 » 16 Jun 2013 16:30

Here there is the AutoUnlocker. Unlock your phone when you pick it up from pocket, or you face it up, or when you tap the proximity sensor. Plus you can keep your screen on when u shake it.
I don't insert the "shake to unlock".

http://automagic4android.com/flow.php?i ... 2c68dbf41f

Any improvements are welcome :-)

pat2net
Posts: 85
Joined: 01 May 2013 09:18

Re: AutoUnlocker

Post by pat2net » 16 Jun 2013 19:49

It's beautiful to see your flows interacts with each other. Good work.

setaur
Posts: 4
Joined: 14 Jun 2013 01:20

Re: AutoUnlocker

Post by setaur » 17 Jun 2013 00:03

How is the battery life?

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: AutoUnlocker

Post by MURTUMA » 17 Jun 2013 06:46

I cleaned up your flows a bit and removed some parts that had absolutely no purpose to be there, i.e.execution counters. I'm somewhat perfectionist when it comes to that kind of things.

About execution counters: if you set the counter limit to 1 and the only output is "false", the flow always stops there. Therefore they were useless, because the flow would stop even if the counters are not there.

http://automagic4android.com/flow.php?i ... 32978b694d

Shin88
Posts: 5
Joined: 15 Jun 2013 11:29

Re: AutoUnlocker

Post by Shin88 » 17 Jun 2013 07:32

MURTUMA wrote:I cleaned up your flows a bit and removed some parts that had absolutely no purpose to be there, i.e.execution counters. I'm somewhat perfectionist when it comes to that kind of things.

About execution counters: if you set the counter limit to 1 and the only output is "false", the flow always stops there. Therefore they were useless, because the flow would stop even if the counters are not there.

http://automagic4android.com/flow.php?i ... 32978b694d
Thanks. I entered the "execution count" for prevent autounlock if the screen is up, but, using your variation, the problem there isn't.
:-)

About battery life, now i'm full charging the phone. Then I start to "test" it. :-)

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: AutoUnlocker

Post by MURTUMA » 17 Jun 2013 07:41

Shin88 wrote:Thanks. I entered the "execution count" for prevent autounlock if the screen is up, but, using your variation, the problem there isn't.
That's weird,because I didn't really *fix* anything. That's good it works anyway.

Shin88
Posts: 5
Joined: 15 Jun 2013 11:29

Re: AutoUnlocker

Post by Shin88 » 16 Jul 2013 17:06

http://automagic4android.com/flow.php?i ... 2e8cff3ae9
I tried to improve the "unlock abilitator" with the orientation change (compass) and some other changes for not have and "heavy" code, but I have sometimes the "emergency stop" problem. Can u help me?


Edit: Code changed. Using this, the unlock abilitator doesn't have the emergency stop.

http://automagic4android.com/flow.php?i ... 73ab86c898

User avatar
zaini47
Posts: 18
Joined: 30 Jul 2014 01:14

Re: AutoUnlocker

Post by zaini47 » 30 Jul 2014 02:34

Thank You. I'm new and Already learn so much :)

Post Reply