Control from Lock Screen on Android 5.0 (Lollipop)

Post your questions and help other users.

Moderator: Martin

Post Reply
magician
Posts: 4
Joined: 18 Feb 2015 09:59

Control from Lock Screen on Android 5.0 (Lollipop)

Post by magician » 18 Feb 2015 10:07

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
Attachments
aa.png
aa.png (342.9 KiB) Viewed 7258 times

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

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

Post by Martin » 18 Feb 2015 20:24

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

magician
Posts: 4
Joined: 18 Feb 2015 09:59

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

Post by magician » 19 Feb 2015 08:26

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

Post Reply