Page 1 of 1
shortcut format
Posted: 24 Aug 2013 11:10
by rsegoly
I'd like to create Android app with various buttons which call Automagic to preform actions.
I can create single shortcut using Automagic but what is the format of the message it sends so I can include in my app?
Re: shortcut format
Posted: 24 Aug 2013 11:27
by Martin
Hi,
Automagic does not allow to execute arbitrary actions from an external app. You always have to create a trigger within Automagic to handle the event and execute a flow.
There are two triggers that could be used to achieve this:
-trigger
General Broadcast (you can also pass extras to Automagic)
-trigger
Plugin
The plugin-trigger is probably the most flexible way and also works with other automation tools like Locale and Tasker:
http://www.twofortyfouram.com/developer
Regards,
Martin
Re: shortcut format
Posted: 24 Aug 2013 19:12
by rsegoly
Thanks Martin
I am looking for easy solution for a demo. I have no issue calling shortcut created by AM and not AM directly, I already created some shortcuts which perform all actions but it is different files and I want to call it from one application.