List of utility methods to do Zip File
void | zipFile(String inPath, String outPath, String nameInsideZip) zip file try { FileInputStream in = new FileInputStream(inPath); try { ZipOutputStream out = new ZipOutputStream(new FileOutputStream(outPath)); out.putNextEntry(new ZipEntry(nameInsideZip)); byte[] buffer = new byte[BLOCK_SIZE]; int len; while ((len = in.read(buffer)) > 0) { ... |