Zip files can be streamed. See for example https://developer.android.com/reference/java/util/zip/ZipInp...
It even allows you to stream the zip while creating it, i.e. you do not need to know the compressed size of the files before starting to write the compressed file content.