Tag Info

New answers tagged

0

In addition to this answer you can use the following solution which is taken from rohitverma's answer here and noticed in Lucky's comment. am start -a android.intent.action.VIEW -d <FILEPATH> -t text/plain --activity-clear-task It will execute com.android.internal.app.ResolverActivity activity of android system with all candidates registered ...


0

Is there a way to create an icon on the home screen that will launch one of these scripts? There is another way (other than this one) if you happen to use Terminal Emulator for Android app. It allows a widget which can be used to execute a script. Install that app, choose Term Shortcut widget in your current launcher. Corresponding to Arguments ...


1

Launching apps in Android isn't straightforward. You'll have to use am start combined with certain <PARAMS> to launch the app or a particular section of it. From the comments, it seems that you may want to launch the text file using ES Note Editor. In that case, first identify the activity responsible for the edit window you see when the file is ...


1

If the script isn't dependent on Terminal IDE but on shell only, then you can use Tasker to create a home screen shortcut which would execute the script. Brief instructions: Choose Task Shortcut widget in your current launcher. Create a task name and tap +→ Code → Run Shell. Enter the details there as per your need. Save the task, choose the ...



Top 50 recent answers are included