Monitor App Uninstall and Share with tasker

Post your questions and help other users.

Moderator: Martin

Post Reply
iamhumble
Posts: 3
Joined: 02 Apr 2015 12:41

Monitor App Uninstall and Share with tasker

Post by iamhumble » 02 Apr 2015 12:47

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.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Monitor App Uninstall and Share with tasker

Post by Martin » 03 Apr 2015 07:27

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

iamhumble
Posts: 3
Joined: 02 Apr 2015 12:41

Re: Monitor App Uninstall and Share with tasker

Post by iamhumble » 03 Apr 2015 12:47

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

Post Reply