Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    39

    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.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    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

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    39

    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.

  4. #4
    Registered User
    Join Date
    Sep 2008
    Posts
    39

    Re: how to compress valuse which is stored in String buffer or string

    Quote Originally Posted by im2amit View Post
    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
    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.

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    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

Similar Threads

  1. store buffer contents in string
    By hm36 in forum Symbian
    Replies: 12
    Last Post: 2007-07-10, 14:57
  2. How to use Gauge/Process Bar when using HttpConnection?
    By Tanya in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2006-12-28, 08:59
  3. Personal
    By JSmith77 in forum PersonalJava
    Replies: 4
    Last Post: 2003-07-30, 12:52
  4. D211 new linux driver 1.04 not working !!
    By franz_meyer in forum Multimodecards
    Replies: 1
    Last Post: 2002-12-12, 09:31
  5. SMS Msg using VB Application
    By gurup83 in forum General Messaging
    Replies: 2
    Last Post: 2002-07-11, 04:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×