how to compress valuse which is stored in String buffer or string
I want to compress data's which is stored in a stringbuffer. I am passing this string value from midlet to servlet using url so me having problem while sending long datas.
Kindly help me for the same.
Waiting for your reply.
Re: how to compress valuse which is stored in String buffer or string
You can use pure java zlib compression in J2me and do it, the same can be decompressed on the server side using zlib uncompress.
thanks,
~Amitabh
Re: how to compress valuse which is stored in String buffer or string
i tried to use zlib but it give an error of "preverify result 1" something like this.
Re: how to compress valuse which is stored in String buffer or string
[QUOTE=im2amit;637444]You can use pure java zlib compression in J2me and do it, the same can be decompressed on the server side using zlib uncompress.
thanks,
~Amitabh[/QUOTE]
Hi Amitabh, i tried to use zlib but it give an error when i built it, i get an error that "preverify result 1".
Can u help me out.
Thanks a lot for replying me.
Re: how to compress valuse which is stored in String buffer or string
Please check that the zlib code you are using is complient to j2me and your target platform is CLDC 1.1.
thanks,
~Amitabh