Page 1 of 1
AutoUnlocker
Posted: 16 Jun 2013 16:30
by Shin88
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

Re: AutoUnlocker
Posted: 16 Jun 2013 19:49
by pat2net
It's beautiful to see your flows interacts with each other. Good work.
Re: AutoUnlocker
Posted: 17 Jun 2013 00:03
by setaur
How is the battery life?
Re: AutoUnlocker
Posted: 17 Jun 2013 06:46
by MURTUMA
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
Re: AutoUnlocker
Posted: 17 Jun 2013 07:32
by Shin88
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.

Re: AutoUnlocker
Posted: 17 Jun 2013 07:41
by MURTUMA
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.
Re: AutoUnlocker
Posted: 16 Jul 2013 17:06
by Shin88
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
Re: AutoUnlocker
Posted: 30 Jul 2014 02:34
by zaini47
Thank You. I'm new and Already learn so much
