Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2ME gzip/zlib library?

 
Gary LaRock
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a small, freely available gzip/zlib compression library around that will run on J2ME/MIDP?
Thanks, Gary
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not found any. Have you thought about trying to compile the existing java.util.zip classes with J2ME libraries?
Bill
 
Gary LaRock
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unfortunately the existing java.util.zip package classes rely on a native zlib library. I've been playing around with jzlib with some success (it compiles at least). See http://www.jcraft.com/jzlib/.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!