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?
shortcut format
Moderator: Martin
Re: shortcut format
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
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
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.
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.