A simple library with lzma sdk for 7z extraction.
Import the library:
dependencies {
compile 'com.hzy:un7zip:1.0.0'
}
Java API:
public static boolean extract7z(String filePath, String outPath);
public static boolean extract7zFromAssets(Context context, String assetPath, String outPath);
- easily extract 7z from file
- directly extract 7z from assets
- unicode file names is available
- 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: [email protected]
- Foxmail: [email protected]