title: J7zip on Android - Extracting From an Archive and Listing Contents
body: <p>My previous question got closed as not constructive. I edited it there, but didn't see that it was closed ): </p>
  
  <p>I'm writing an application that involves extracting 7z archives. There doesn't seem to be any native support, so I've ventured off in search of third-party libraries or source code I could integrate into my project.</p>
  
  <p>I have been trying to implement <a href="https://sourceforge.net/projects/p7zip/files/J7Zip/" rel="nofollow">J7zip</a> but have not been successful.</p>
  
  <p>Listing contents of the archive returns no files:</p>
  
  <pre><code>12-24 13:36:44.216: I/System.out(18473): J7zip 4.43 ALPHA 2 (2 CPUs)
  12-24 13:36:44.232: I/System.out(18473):   Date   Time   Attr         Size   Compressed  Name
  12-24 13:36:44.232: I/System.out(18473): -------------- ----- ------------ ------------  ------------
  12-24 13:36:44.240: I/System.out(18473): -------------- ----- ------------ ------------  ------------
  </code></pre>
  
  <p>However, listing the contents on windows (using 7z.exe) returns the following</p>
  
  <pre><code>7-Zip 9.22 beta  Copyright (c) 1999-2011 Igor Pavlov  2011-04-18
  
  Listing archive: archive.7z
  
  --
  Path = archive.7z
  Type = 7z
  Method = LZMA
  Solid = -
  Blocks = 1
  Physical Size = 183119
  Headers Size = 122
  
     Date      Time    Attr         Size   Compressed  Name
  ------------------- ----- ------------ ------------  ------------------------
                      .....       524288       182997  contents.txt
  ------------------- ----- ------------ ------------  ------------------------
                                  524288       182997  1 files, 0 folders
  </code></pre>
  
  <p>Extracting fails, I have the logcat of that <a href="http://pastebin.com/iLGdWtih" rel="nofollow">here</a> since it's a bit longer.</p>
  
  <p>There seems to be an io problem here, but I'm suspecting something else since listing this archive returns no files.</p>
  
  <p>Does anyone have experience extracting and listing archive contents using J7zip?</p>