I am trying to add some files to a ZIP file, it creates the file but does not add anything into it. Code 1:
String fulldate = year + \"-\" + month + \"-\" +
See also ZeroTurnaround's Zip library. It has such features as (citation):