I am trying to read a zip file(having 100 text files) from the web server. I am using HttpConnection and I am reading the bytes using ZLibInputStream. I need to decompress the bytes. As there is no inflate function in j2me. I searched online and found GZIP.inflate() function provided by java4ever.com.
I am wondering if anyone had tested the GZIP.inflate function. I appreciate if anyone could provide a sample code. Also, does the file extension has to be .zip or .gzip.
Welcome to the JavaRanch. We don't have many rules here, but we do insist that you use you Real Name and not some sort of "handle" or obvious alias. If you're not sure about this, see http://www.javaranch.com/name.jsp .
I can't say specifically about your problem, since I'm not familiar. The one thing that you do need to determine, however, is whether the java4ever solution is designed to run in a JME environment. The JME core classes don't have all the methods and capabilities that the full JRE definition provides, so if a class was coded to use those missing methods or objects, it won't work in a JME JVM.
An IDE is no substitute for an Intelligent Developer.