My previous question got closed as not constructive. I edited it there, but didn't see that it was closed ):
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.
I have been trying to implement J7zip but have not been successful.
Listing contents of the archive returns no files:
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): -------------- ----- ------------ ------------ ------------
However, listing the contents on windows (using 7z.exe) returns the following
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
Extracting fails, I have the logcat of that here since it's a bit longer.
There seems to be an io problem here, but I'm suspecting something else since listing this archive returns no files.
Does anyone have experience extracting and listing archive contents using J7zip?