I've put the source code here: http://code.google.com/p/ziparchive/
I wrote a simple class for compressing and extracting files. It works depend on minizip, which is a open source zip format library. And it’s included in the attachment.
it's simple but meet my own requirement
The major class name is ZipArchive, it’s easy to use, you can declare a instance and call initialize functions, and then call addFileToZip or UnzipFileTo to finish compression or uncompression.
download the source here
for more detailed info, please visit my
article