This question already has an answer here:
How to compress and decompress a file in android using GZip. please provide with some reference , so that it would a great help for me.
Thanks in advance
This question already has an answer here:
How to compress and decompress a file in android using GZip. please provide with some reference , so that it would a great help for me.
Thanks in advance
Please use the following methods to compress the string using gzip.
Check out
GZIPInputStream
andGZIPOutputStream
.I ran into same problem some time ago. Here are the functions i used
Compress Function
if (responseCode == HttpConnection.HTTP_OK){
Decompress function:-
}