×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Moscow/Russia
    Posts
    258

    Zip library for J2ME

    Hello!

    Who know how I can compress data while sending via GPRS/WAP?

  2. #2
    Registered User
    Join Date
    Jul 2003
    Location
    Finland, Tampere
    Posts
    1,113
    Hmm, I think it's compressed already. Even wire modems have compression algorithms...

    Well, I'm not sure, I suppose it's a good question for some GSM forum

    If you find an answer, please post it here, I would like to know actual situation too

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Moscow/Russia
    Posts
    258

    Compression

    In fact, only WML (i.e. XML) pages can be compressed by WAP gate in ordinary WAP connection. But I would like to use my own HTTP connection from midlet with large volume of binary data.

  4. #4
    Registered User
    Join Date
    Jul 2003
    Location
    Finland, Tampere
    Posts
    1,113
    I was thinking about lower level compression, somewhere at Transport or even Data Link layer. I cannot be sure that any GPRS tranfer is compressed, but I consider it being probable.

  5. #5
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Moscow/Russia
    Posts
    258

    Zip

    I would like to use Zip/Unzip right in J2ME code.
    And therefore I need simple tiny compression library ;-)
    I don't care about other layers...

  6. #6
    Registered User
    Join Date
    Jul 2003
    Location
    Finland, Tampere
    Posts
    1,113
    Personally I think, that everything is transfered and stored compressed already.

    But it's up to you if you want to try it out yourself

    I can start looking here http://saloon.javaranch.com/cgi-bin/...&f=41&t=000477

    and here http://www11.informatik.tu-muenchen....e-summary.html

  7. #7
    Registered User
    Join Date
    Mar 2003
    Posts
    30
    You can use the implementation of java.util.zip.* from the GNU Classpath project (if you obfuscate).

    The full JAR ends up being about 42K, but an obfuscator will shrink that down considerably.

    http://www.gnu.org/software/classpath

    Wes

Posting Permissions

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