Using system gui file picker to select multiplefiles and return their usable paths to executecommand

is there a way i can open file picker ui select multiple file nd get back file paths as result on which i can execute comands. using select loop and cli based menus are sometimes not suitable need to quickly open gui android file picker. using activity manager is useless as devs has not implemented any way to get intent resultActivity. maybe termux-api lib can be used with storageGet method or anything. Plese help I have tried termux-saf-* method but they just struck/hang doesnt work or return
2 Replies
knyipab
knyipab3w ago
Have you updated your Termux:API to the most reent debug build (not releaes build)? Debug builds are avivalable on the Github actions https://github.com/termux/termux-api/actions,
knyipab
knyipab3w ago
I share the same view with you, and there is a big gap for making our own Termux apps. Indeed, I made a PR here https://github.com/termux/termux-api/pull/497 long ago to provide such multiple files feature, but devs do not seem interested in merging any time soon. Perhaps you can voice your view there.
GitHub
more features for termux-storage-get by knyipab · Pull Request #497...
This goal of this request is to enrich termux-storage-get to what "Open ..." and "Open Folder ..." usually do in PC, while keeping backward compatibility. high backward compati...