Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

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!

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

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 :)

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.