• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[Tasker] how to call to a Task from another Task?

ldm1417

Member
Hi All,

Is it possible to call to a Task from another Task?

Is it possible to write functions/procedures and use it in different Tasks?

Thank you!
 
Yes. It is one of the more complicated features in Tasker.

One task can send an Intent to another task and the other task can be triggered by its receipt.

Send …

tlaIntS
A1: Variable Set [ Name:%tlaProx To:Off Recurse Variables:Off Do Maths:Off Append:Off ]
A2: Flash [ Text:tlaIntS - %tlaProx Long:Off ]
A3: Send Intent [ Action:net.tlanet.tlaprox.SEND Cat:None Mime Type: Data: Extra:tlaprox:%tlaProx Extra: Extra: Package: Class: Target:Broadcast Receiver ]

Receive …

Profile: tlaIntR
Event: Intent Received [ Action:net.tlanet.tlaprox.SEND Cat:None Cat:None Scheme:* Mime Type:* ]
Enter: tlaIntREnter
A1: Flash [ Text:tlaIntR - %tlaprox Long:Off ]

… Thom
 
Back
Top Bottom