I am developing a BlackBerry application in which I need to unzip a zip file compressed by PKZIP. A package can contain one file, or it can have 10; It will change in every case. I know that the BlackBerry API has built-in support for GZip and Zlib, although I am sure that these methods will not be useful in my case. It doesn't seem like I can extract individual files using these calls.
I tried JZlib ( http://www.jcraft.com/jzlib/ ), which compiled fine, but again doesnβt look as if the methods contained in this case I could pull out individual files.
This seems to be possible, since there is an application called Ziplorer ( http://www.s4bb.com/software/ziplorer/ ) that claims to perform this exact procedure, however, how they do it avoids me.
So, here I am after several hours of work at Google. I welcome any understanding of my problem with open arms.
source
share