Giter Site home page Giter Site logo

Comments (7)

zcattacz avatar zcattacz commented on July 24, 2024 5

I am using easer https://github.com/renyuneyun/Easer which seems a quite active automation tool . It support dispatching customized intent as action. Is it possible to trigger termux scripts from Easer?

from termux-tasker.

yut23 avatar yut23 commented on July 24, 2024

It looks like this is built into the main Termux app. See https://github.com/termux/termux-app/blob/master/app/src/main/java/com/termux/app/TermuxService.java#L124.

It's used in https://github.com/termux/termux-tasker/blob/master/app/src/main/java/com/termux/tasker/FireReceiver.java.

EDIT: Nevermind, it's not exported. For future reference, you can still manually run the intent with am if you have root.

from termux-tasker.

fornwall avatar fornwall commented on July 24, 2024

@rjsteinert Are you still interested in this? As @yut23 says the functionality is there but is not yet exposed, perhaps it could be done by requesting a custom permission?

from termux-tasker.

rjcorwin avatar rjcorwin commented on July 24, 2024

@fornwall For the time being we've managed to package up node and dat into an APK thanks to our ability to compile it in Termux and then get it going as a shared library. For the future, I bet I'll run into a case where it would be handy :-)

from termux-tasker.

fagci avatar fagci commented on July 24, 2024

Use Automagic, Luke

from termux-tasker.

alensiljak avatar alensiljak commented on July 24, 2024

It's a good start. Requires manually adding scripts to ~/.termux/tasker/ and running them through an app that can run Tasker plugins.
It would be even more convenient to invoke the Termux intent directly and hopefully that is also coming at some point. That would eliminate two components from the process - the addon and a third-party app.

from termux-tasker.

 avatar commented on July 24, 2024

If need the Intent API for executing commands in Termux, check out https://github.com/termux/termux-app/blob/master/app/src/main/java/com/termux/app/RunCommandService.java#L24-L61.

from termux-tasker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.