Coder Social home page Coder Social logo

my11712 / androidun7zip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hzy3774/androidun7zip

0.0 1.0 0.0 5.29 MB

A simple android ndk library used to simply extract lzma 7z files.

Home Page: https://github.com/hzy3774/AndroidUn7zip

License: Apache License 2.0

Java 5.71% C 93.48% CMake 0.33% C++ 0.48%

androidun7zip's Introduction

AndroidUn7zip(安卓7zip解压)

A simple library with lzma sdk for 7z extraction.(使用LZMA SDK解压7z压缩包)

auc api

Introduction

Begin To Use

  • Add gradle dependencie:
dependencies {
    implementation 'com.hzy:un7zip:1.5.0'
}
  • Or just download the aar here
  • If you want to add some abi filters
android {
    ...
    defaultConfig {
        ...
        ndk {
            abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
         }
    }
}

Java API:

boolean extractFile(filePath, outPath, callback);
boolean extractAsset(assetManager, fileName, outPath, callback);
String getLzmaVersion();

ProGuard

If you are using ProGuard you might need to add the following options:

-keep class com.hzy.lib7z.** { *; }

Fetures

  • easily extract 7z from file
  • directly extract 7z from assets
  • unicode file names is available
  • add extract callbacks

Screenshot

image

Thanks To

  • danhantao offered X86 compiled(修复了X86编译问题)
  • ransj offered the way to extract 7z file from assets directly(添加了直接从assets解压的功能)

About Me

Contact To Me

androidun7zip's People

Contributors

huzongyao avatar hzy3774 avatar ransj avatar danhantao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.