termux-api icon indicating copy to clipboard operation
termux-api copied to clipboard

Storage Access Framework

Open babaric-dev opened this issue 3 years ago • 8 comments

Feature description Nowadays, many people use external sdcards and I think it will be convenient to have a feature to have write access through termux-api.

Reference implementation Storage Access Framework

babaric-dev avatar Aug 26 '22 02:08 babaric-dev

Do you need any more features than already implemented in #475 ? You can get documentation for each of the termux-saf-* commands with the -h option.

tareksander avatar Aug 26 '22 04:08 tareksander

Wait.. Is it already implemented? I got a command not found for termux-saf-read.

babaric-dev avatar Aug 28 '22 10:08 babaric-dev

It is implemented, but there wasn't a release since it was implemented. I don't know if termux-saf-* is included in the package yet since they won't work, but you can view the help text in the source code (or just download the repo and run the scripts): https://github.com/termux/termux-api-package/tree/master/scripts

tareksander avatar Aug 28 '22 10:08 tareksander

Thank you. You mentioned saf will not work and told me to have a try of the scripts. So, it simply wont work?

babaric-dev avatar Aug 28 '22 14:08 babaric-dev

It won't work unless you use the github builds, where the functionality is already implemented

tareksander avatar Aug 28 '22 17:08 tareksander

If I use the Termux:API from GH build, do I need to have to use the Termux build fron GH?

babaric-dev avatar Aug 28 '22 23:08 babaric-dev

Yes, Termux and all plugins must be installed from the same source.

tareksander avatar Aug 29 '22 04:08 tareksander

Great. I hope an update for termux api and the apt package will be released ASAP. (Termux with SAF, cool, isnt it?)

babaric-dev avatar Aug 29 '22 06:08 babaric-dev