I would like to setup a button that starts an app called "terminal emulator for Android" - https://play.google.com/store/apps/details?id=jackpal.androidterm and opens terminal shell in current directory I am looking at in TC for Android (TCA) folder view. I found this note about the app's command line but I don't know how to relate this to TCA button settings - https://github.com/jackpal/Android-Terminal-Emulator/wiki/Launching-Terminal-Emulator-for-Android-from-another-App as this is written for an app developer. I have looked at the TCA help but I don't understand when to use which options or how to find out what apps accept parameters other than trial and error. Is there something out there that explains this to a non developer user?
Potentially 28 possible combinations function type & parameters - obviously some combinations would not make sense. In Windows a toolbar button could not be any easier to setup.
Function type:
- Launch app (main function)
- View file with app
- Send to app
- 8 ways to pass parameters to apps
- file:/path/name
- url:http://www.server.com
- stream:/path/name
- type:text/plain
- extra0:NAME:data
- extra2:NAME:data
- list:NAME
Can some tell me which one is likely to work I have tried a few but shell is always opening in "/" (Samsung S4 AOS 5.0.1, no root access)?extra:TEXT:"cd %P"
extra:iInitialCommand:cd %P
extra0:jackpal.androidterm.iInitialCommand:cd %P
Edit: I just found thread https://www.ghisler.ch/board/viewtopic.php?t=30393 so was it fixed sometime in the past or is it still a problem?
Is jackpal.androidterm.permission.RUN_SCRIPT permission mentioned on github link above the issue?
Is there another way to set working directory when an app is started?
Issue 2:
I want to setup a button that will pass a text file created in by a shell command to an Android app Jota Text Editor.
(I am not an Android developer)