Re: Could you also provide an option for Aquamail to send such broadcast intents, maybe even in the same format as K9 does, just with your own package name?
There already are some broadcasts, used by LightFlow and a few others.
Re: Then the integration would be very simple for any app that wants to support it. I am confident that the Automagic developer would add it to his app, and probably the Tasker developer, too.
The developer of Tasker (Pent) specifically wrote to me that:
- He has no interest in redoing what he's done for K9 Mail -- for every mail app that happens to come along
- The "condition" plugin API is what he wants all apps to use, so that the work is done by the developers of those apps (AquaMail here) not him
It's my understanding that Automagic is a Tasker "clone".
And so to me, Tasker comes first, and "clones" next (for a while Automagic didn't support the Tasker "event" plugins at all).
On the other hand, if the developer of Automagic wants to integrate with AquaMail the same way as Tasker integrates with K9 Mail, sure, I don't mind and will provide the information.
---
With Tasker, it comes down to this:
Tasker "condition" plugins are not aware of any actual "conditions" set by the user.
So the model is:
A plugin sends an event to Tasker, "hey, something might have happened" and then Tasker calls the plugin for every condition set by the user, for the plugin to check if the "something" matches the actual condition.
Imagine 10 just received messages * 10 conditions, or 20 * 20, etc.