5

I'm trying to run a tasker task manually from ADB Shell, via SSHDroid. I'm running the following in putty (Windows SSH client):

am broadcast -a net.dinglisch.android.tasker.ACTION_TASK -es task_name Silent

On which I get:

Broadcasting: Intent { act=net.dinglisch.android.tasker.ACTION_TASK dat=Silent } Broadcast completed: result=0

However, despite the existence of task "Silent", nothing happens. Could it be because SSHDroid doesn't have the net.dinglisch.android.tasker.PERMISSION_RUN_TASKS permission? If so, how can I fix that? If not, what else can be the cause?

Thanks!

2 Answers 2

3

This was solved thanks to Bossman's awesome proxy APK. Install it and then run via SSH:

am broadcast -a pl.bossman.taskerproxy.ACTION_TASK --es task_name TASKER_TASK_NAME_GOES_HERE

It works flawlessly :)

1

The reason is because SHDroid does not have permission to execue Tasker actions.

You could contact the developer of SHDroid and ask him to add the permission to the application. I haven't found exact contact info for him, but I found his blog.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .