Page 1 of 1

Shake Flashlight Limited

Posted: 10 Jul 2015 05:45
by Rafael09ED
Another user posted a simple Flashlight app (t=3676) where you would shake your device and it would toggle the Flashlight. I liked the idea and expanded on it.

The shake trigger of only enabled when the device is turned on and is deactivated if the light is not turned on in 15 seconds.

When shaken:
If the Flashlight is on, it is turned off and the trigger is turned off.
If the Flashlight is off and the light level is low, the Flashlight is turned on.
If the light level is not low, you must shake it twice.

This saves power from a sensor that would otherwise be always on. This limits false positives but allows a speedy flashlight turn on if the device is locked.

http://automagic4android.com/flow.php?i ... 5c709dfcf7

To enable: Enable the "Flashlight Shake Enable" Flow

Re: Shake Flashlight Limited

Posted: 12 Jul 2015 06:56
by Rafael09ED
New version checks for proximity before activation.http://automagic4android.com/flow.php?i ... 6bdc7dc430