Android Modify Zip FIle

Is there a way to change zip to android without having to extract its contents? I only need to add / remove about 10 files. If I had to extract a zip, it could rise to 200 mb.

+3
source share
2 answers

This seems impossible without third-party packages. Adding files to a zip file using Java

I will wait for answers ...

+2
source

I don’t think you will find an easy way to do this with the built-in libraries. If this is the key function of your application, you can write your own (parsing is not so difficult).

: zip, zip - , , - . zipentry. .

zip ( - b/c flate deflate - ), , , : http://www.pkware.com/documents/casestudies/APPNOTE.TXT

, , , ( , , ) .

0

Source: https://habr.com/ru/post/1783745/


All Articles