0

DroidEdit allows you to run commands if you have sl4a installed and the am command works wonderfully... I was wondering if there is a way to use am to launch an app with params .. specifically I want a command that will tell termux to run a command on a file that I specificy ... so far I found this snippet that launches the termux app .. now how do I get it to run node or webpack from npm as well?

am start --user 0 -n com.termux/com.termux.app.TermuxActivity

John Manning
  • 39
  • 11
  • If you are root you can run the executable from param. I am not an Android expert. But i think this may help you if you are a expert on this field https://stackoverflow.com/questions/3913592/start-an-activity-with-a-parameter – Hasibul Hasn Sep 01 '18 at 05:50
  • Thank you, it has indeed given me some insight on how intent's work. – John Manning Sep 23 '18 at 22:55

0 Answers0