Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasker integration #78

Open
thejeshgn opened this issue Aug 26, 2020 · 3 comments
Open

Tasker integration #78

thejeshgn opened this issue Aug 26, 2020 · 3 comments

Comments

@thejeshgn
Copy link

Add ability to send and receit data from Tasker. Phonk can look like a plugin for Tasker.

@victordiaz
Copy link
Owner

Hi @thejeshgn
Just out of curiosity, what uses cases can you see?

@thejeshgn
Copy link
Author

I have couple of scenes in Tasker. In one of them I wanted to trigger a script in Phonk

@victordiaz
Copy link
Owner

Hi @thejeshgn

I remembered we can launch PHONK scripts using an intent.
For example in ADB we can do something like

adb shell am start -n "io.phonk.extended/io.phonk.runner.AppRunnerActivity" -e "projectFolder" "playground/User\ Projects" -e "projectName" "MyProject"

To launch the script "My Project" inside the "User Projects" folder. Have in mind that I'm using the "extended" version, if you use the normal one you should write io.phonk rather than io.phonk.extended.

If you want to translate this to Tasker, you can use the Send Intent action as follows

phonk_tasker

I hope this can help you out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants