How to start a flow from Lightning Launcher

Post your questions and help other users.

Moderator: Martin

Post Reply
briconaut
Posts: 4
Joined: 28 Oct 2015 11:42

How to start a flow from Lightning Launcher

Post by briconaut » 10 Nov 2017 20:11

Is it possible to start a flow from a Lightning Launcher script ?
There's a way to call Tasker tasks:
http://www.lightninglauncher.com/wiki/d ... _scripting
... like this ...

Code: Select all

LL.sendTaskerIntent(new TaskerIntent("MyTask"), false);
It looks really Tasker specific, but maybe there's a way for Automagic too?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: How to start a flow from Lightning Launcher

Post by Desmanto » 11 Nov 2017 01:53

Do you need to add anything in tasker? Something like profile "intent received". Because Automagic can receive intent broadcast thru General Broadcast trigger, you can see the example here. viewtopic.php?f=5&t=6868

I don't much about the LL script, but if it can send broadcast intent, then you can use that to call automagic's flow.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

briconaut
Posts: 4
Joined: 28 Oct 2015 11:42

Re: How to start a flow from Lightning Launcher

Post by briconaut » 11 Nov 2017 09:47

That looks very much like what I need. I'm sure LL can send broadcast intent, it's just a matter of finding it in the documentation.
Thanks.

Post Reply