Skip to main content

zip utility with J2ME

1 reply [Last post]
ashakthi
Offline
Joined: 2007-12-14

Hi

I am trying download a zip file from the web server and unzip it in my qtek 9100 PDA using J2me. I tried to use MIDP midlets but I could not find zip class in java.util. and also I found there is PDAP for PDAs but I could not nice documents and examples for PDAP where can I find it. Is it possible to implement the zip utility with j2me.

Thanks
Aruna.G

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sfitzjava
Offline
Joined: 2003-06-15

here are a couple links with gzip utils for javaME.
http://www.java4ever.com/index.php?section=j2me&project=gzip&menu=main&l...
or
http://tinyline.com/utils/index.html

these do the decompression, however they may have issues decompressing to a filesystem, since JavaME does not access the filesystem without special JSR support (PIM, jsr 75). So you may have to setup some code to integrate these together.

regards,
-Shawn