com.motorola.mod.ModManager.ACTION_MOD_ATTACH
there probably not used then try leaving them blank
And then as far as the Cat Cat Scheme and Mime Type, I couldn't see in the mods developer site what should go in those fields...
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
Jay M ︻芫══一
Is there any way to detect an Alert/Flash in a context? I've tried to simulate it whithin tasker (producing the toast and getting the right context to notice it), but the only context I can find is for notifications. And the Moto Mod notification isn't triggering the 'notification event context' in tasker, even with no app and no title (* and * in both those fields).
Understood... thanks for looking into it. I am wondering though, every time a Moto Mod is attached, there is a toast that appears, similar to the Alert/Flash function available in tasker, that has the text 'MotoMod Connected' on the first line, then on the second line of the same flash it reports the Mod's battery percent.
You could see if it changes the window value. Make a profile with a context of event/ variable set : %WINthen in the task flash %WINYou need tasker selected in your android accessibility settings for %WIN to be set.Have you tried the state / sensor / magnetic field context?
That's an interesting thought about the magnetic field though... I'll have to check that one out! Thanks!
Any other thoughts?
Maybe this project will be the one that pushes me over into the Android IDE/SDK environment in order to get this functionality more rubust. I imagine that using the Android App Development Tools would allow for detecting when the Moto Mod notification or broadcast intent (as a service or action(?)) is sent.
But the tricky thing is how does Tasker know when the mod is attached or detached.
I believe I understand your logic: essentially forcing an Event Context to act or behave more like a State Context. There many ways to implement such logic, and I think I have done so in a little bit different of a way, but using the magnetic field value as the trigger (either Event, or Event set up to act like a State) just isn't very robust. It works, but just not as smoothly and consistently as I'd like.
Maybe this project will be the one that pushes me over into the Android IDE/SDK environment in order to get this functionality more rubust. I imagine that using the Android App Development Tools would allow for detecting when the Moto Mod notification or broadcast intent (as a service or action(?)) is sent.