2

I am facing interesting problem. I have in my ZIP archive more than 65535 files inside my archive and that is problem, because standard ZIP archive can carry no more then 65535 to be able to successfully unpack them. Have you faced same problem? I am currently unzipping in Android (using ZipEntry), so is there any way how to increase numbers of files I can store in one ZIP?

Thanks

Waypoint
  • 17,283
  • 39
  • 116
  • 170
  • 2
    If you are the producer of the zip you might want to split it into several zip archives when generating the file. – Qben Jun 03 '12 at 07:38
  • Thanks, this seems like an one and only solution. Inporting another ZIP libraries is unsuccessfull in Android – Waypoint Jun 03 '12 at 08:02

2 Answers2

0

Look here: zip It looks like its a limitation of zip format.

There is another thread in this wonderful site that you may be interested to read: zip64 library in java I have no idea how does it ports to Android though...

Hope this helps

Community
  • 1
  • 1
Mark Bramnik
  • 39,963
  • 4
  • 57
  • 97
0

From Wikipedia: Java's built-in java.util.zip does support ZIP64 from version Java 7. As far as I know, the Android SDK was designed for java5/6, see also this question. But you might be able to extract the classes from java.util.zip and make use of those in your project.

Community
  • 1
  • 1
Tedil
  • 1,935
  • 28
  • 32