Page 1 of 1

Control from Lock Screen on Android 5.0 (Lollipop)

Posted: 18 Feb 2015 10:07
by magician
Hello,

is it possible on Android 5.0 (Lollipop) (Samsung Galaxy S5)
to run Flow by pressing (or doing something) on lock screen?

I can create icon+info in taskbar, which is displayed on lock screen.
However, how can I make to run some flow if I eg. click on lock screen on created icon or on whole created taskbar row?

Some aplication can make it - e.g. Tiny Flashlight (from Nikolay Ananeiv) - if you are on lock creen, it has two icon it taskbar for swithching screen/led on
(see atachement)

How to make something simmilar in Automagic?


If it is not possible natively, any tip for workaround? Maybe tasker? Only my idea was keeping that Tiny Flashlight in tray and catch if I switch on/off led (even from lock screen) and if so, than run my flow..
I also find that if I open menu (and switch on "even on lock screen") than this menu is active on lock screen. But how to activate that menu from lock screen?

Thanks

Re: Control from Lock Screen on Android 5.0 (Lollipop)

Posted: 18 Feb 2015 20:24
by Martin
Hi,

You can create a flow with trigger Notification on Statusbar selected that shows a notification and executes the flow when the notification is clicked. Android usually asks to enter the PIN/pass/pattern before it actually executes the flow. You could also add some actions to the notification but Android also asks to unlock the device before it executes such actions.

Another way would be to design your own custom widget with a clickable action and show the widget using an action Show Custom Widget Overlay when the lock screen is displayed. You could show the widget when the display is turned off/on and hide the widget with action Hide Custom Widget Overlay when trigger User Present is executed.

Regards,
Martin

Re: Control from Lock Screen on Android 5.0 (Lollipop)

Posted: 19 Feb 2015 08:26
by magician
Marin,

thank you for the answer.
First variant did really required unlock the screen to make choice,

however second variant with user widget works perfect.

George