Page 1 of 1

Monitor App Uninstall and Share with tasker

Posted: 02 Apr 2015 12:47
by iamhumble
Hi,

Another user from Tasker here. I only recently noticed this app and purchased it right away without any second thoughts.
A very nice app for automation. Thanks to all the devs involved.

I need a small help here.
I am trying to monitor app uninstall/Install and share an integer value 0/1 with tasker. Is it possible to do so.
I have most of tasker plugins installed and i tried them. But i could find a way to share this value with tasker.
Please help.

Re: Monitor App Uninstall and Share with tasker

Posted: 03 Apr 2015 07:27
by Martin
Hi,

It should be possible to send a broadcast intent to Tasker with action Send Broadcast and receive the intent in Tasker with Intent Received.
You could either use an action name like your.action.0 and your.action.1 if you want to execute different profiles or you could use one action name and pass the value as an extra. You can set the extra in the extras-field with putInt("value", 0); respectively putInt("value", 1);.
According to the help page of Tasker (section Accessing Intent Data at the end) the extra should become available as a variable %value, however I did not test it.

Regards,
Martin

Re: Monitor App Uninstall and Share with tasker

Posted: 03 Apr 2015 12:47
by iamhumble
Hi Martin,

Thank you very much. I tried the exact same steps but unfortunately i was trying to access it as a param %par1.
Now its clear. Thanks again Mate.

Edit
I was actually doing it the wrong way. I used the autoshortcut plugin instead and was trying to pass a parameter to tasked task. But that didn't workout