An Android compress and extract library, P7Zip port for Android
- Add gradle dependencie:
dependencies {
implementation 'com.hzy:libp7zip:1.6.0'
}
-
Or just download the aar here
-
If you want to add some abi filters
android {
...
defaultConfig {
...
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
}
}
}
- Simple interface
P7ZipApi.executeCommand(String command);
- More information: http://p7zip.sourceforge.net/
- Compiled native code with gradle-experimental
- Tested on android 4.x, 5.x and 6.0
- Supported common archive formats:
Format | Creation | Filename Extensions |
---|---|---|
7z | X | 7z |
BZIP2 | X | bz2 bzip2 tbz2 tbz |
GZIP | X | gz gzip tgz |
TAR | X | tar |
WIM | X | wim swm |
XZ | X | xz txz |
zip | X | zip zipx jar xpi odt ods docx xlsx epub |
- GitHub: https://huzongyao.github.io/
- ITEye博客:http://hzy3774.iteye.com/
- 新浪微博: http://weibo.com/hzy3774
- QQ: 377406997
- Gmail: [email protected]
- Foxmail: [email protected]
- WeChat: hzy3774