/***** Decompress the zip data to string ** @ Param data * @ return */public static string unzipbytetostring (byte [] data) {byte [] result = unzipbyte (data); string outputstring = NULL; try {outputstring = new string (result, 0, result. length, "UTF-8");} catch (unsupportedencodingexception e) {e. printstacktrace ();} return outputstring;} public static byte [] unzipbyte (byte [] data) {Inflater decompresser = new Inflater (); Dec Ompresser. setinput (data); byte result [] = new byte [0]; bytearrayoutputstream o = new bytearrayoutputstream (1); try {byte [] Buf = new byte [1024]; int got = 0; while (! Decompresser. finished () {got = decompresser. inflate (BUF); O. write (BUF, 0, got);} result = O. tobytearray ();} catch (exception e) {e. printstacktrace ();} finally {try {o. close ();} catch (ioexception e) {e. printstacktrace ();} decompresser. end ();} return result ;}