<Zip Compression Algorithm> Hello to all, I have a...
# forum
r
Zip Compression Algorithm Hello to all, I have a routine that creates a Zip file for me on Android. However, I only want to compress all the files and subfolders of the source folder, not the source folder itself as it currently does. How do I need to adjust the code below to achieve this result? Thanks fun zipAll(directory: String?, zipFile: String?) { var zip: ZipOutputStream? = null var fileWriter: FileOutputStream? = null fileWriter = FileOutputStream(zipFile) zip = ZipOutputStream(fileWriter)...