Hi All,

I am trying to unzip a file using java.util.zip. For this, I follow the
following steps:-

1. Download the zip file.

2. Extract the zip file.

The problem is very unusual; the downloaded file is sometimes extracted
successfully but the same file gives “End of Central Directory Signature”
not found

exception when I run the program again at another time to download and
extract.

Let me assure u that each run of the program is “first run” i.e. before each
run I uninstall the executable and redeploy it and make sure that all
directory paths are

clear and each time I run it from the most initial state.

However, I still face this exception sometime when I run it from the
beginning. In addition, the downloaded zip file that gives exception while
extracting through code

is always extracted successfully through WinZip. Please help!

Here is my code for extracting the file http://pastie.org/1337599


Thanx,
Hassan Imtiaz

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to