A simple library with lzma sdk for 7z extraction.
dependencies {
compile 'com.hzy:un7zip:1.3.0'
}
boolean extractFile(filePath, outPath, callback);
boolean extractAsset(assetManager, fileName, outPath, callback);
String getLzmaVersion();
If you are using ProGuard you might need to add the following options:
-keep class com.hzy.lib7z.** { *; }
- easily extract 7z from file
- directly extract 7z from assets
- unicode file names is available
- add extract callbacks
- danhantao offered X86 compiled(修复了X86编译问题)
- ransj offered the way to extract 7z file from assets directly(添加了直接从assets解压的功能)
- GitHub: http://huzongyao.github.io/
- ITEye博客:http://hzy3774.iteye.com/
- 新浪微博: http://weibo.com/hzy3774
- QQ: 377406997
- Gmail: hzy3774@gmail.com
- Foxmail: hzy3774@qq.com