title: unzipping ePub file doesn't work
body: <p>I am developping an app to decompress an .epub file into SDCARD in Android.
  I already read the <a href="https://stackoverflow.com/questions/3147794/cant-unzip-epub-file">Can&#39;t Unzip EPub File</a> TOPIC.
  <strong>IT WORKED FOR .zip files</strong> but not for .epub files.
  Can somone tell me where is the problem ?
  here is the exception log: </p>
  
  <pre><code>03-21 13:35:44.281: W/System.err(1255): java.io.FileNotFoundException: /mnt/sdcard/unzipped11/META-INF/container.xml: open failed: ENOENT (No such file or directory)
  </code></pre>
  
  <p>I am using this code: </p>
  
  <pre><code>private void decom() throws IOException {
      ZipFile zipFile = new ZipFile(Environment.getExternalStorageDirectory()+"/dir.zip");
      String path = Environment.getExternalStorageDirectory() + "/unzipped10/";
  
      Enumeration&lt;?&gt; files = zipFile.entries();
      _dirChecker("");
      while (files.hasMoreElements()) {
          ZipEntry entry = (ZipEntry) files.nextElement();
          Log.v("ZipEntry", ""+entry);
          Log.v("isDirectory", ""+entry.isDirectory());
  
          if (entry.isDirectory()) {
              File file = new File(path + entry.getName());
              file.mkdir();
              System.out.println("Create dir " + entry.getName());
          } else {
              File f = new File(path + entry.getName());
              FileOutputStream fos = new FileOutputStream(f);
              InputStream is = zipFile.getInputStream(entry);
              byte[] buffer = new byte[1024];
              int bytesRead = 0;
              while ((bytesRead = is.read(buffer)) != -1) {
                  fos.write(buffer, 0, bytesRead);
              }
              fos.close();
              System.out.println("Create File " + entry.getName());
          }
      }
  }
  </code></pre>