Android Question How to zip a folder in the one choosen by the user via ExternalStorage library

Sergio83

Active Member
Licensed User
Longtime User
Hello everyone and happy new year 2025!

I am facing a problem in the simultaneous use of EXTERNALSTORAGE and ARCHIVER libraries.
My goal is to zip a folder which is in DirRootexternal into the folder choosen by the user via the ExternalStorage library. But the asyncZipFolder method of the archiver does not accept the ExternalFile type.

More simply, how to convert an ExternalFile object type into a full path string?

I couldn't find a way to do it by looking on the forum...
Thanks in advance for your help
 
Top