Code Monkey home page Code Monkey logo

androidp7zip's Issues

64 bit library

That's pretty cool application and would be more usable with 64-bit version of libp7zip.so. Are you able to provide 64-bit library in release?

libp7zip.so file couldn't find, device Lenovo YT3-X90F/YOGA3 Tablet Pro

Fatal Exception: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.myapp1-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.myapp1-1/lib/x86_64, /data/app/com.example.myapp1-1/base.apk!/lib/x86_64, /vendor/lib64, /system/lib64]]] couldn't find "libp7zip.so" at java.lang.Runtime.loadLibrary(Runtime.java:367) at java.lang.System.loadLibrary(System.java:1076) at com.hzy.libp7zip.P7ZipApi.(P7ZipApi.java:13) at com.example.myapp1.libp7zip.ZipExtractCommand$ExtractRequestTask$2.subscribe(ZipExtractCommand.java:81) at io.reactivex.internal.operators.observable.ObservableCreate.subscribeActual(ObservableCreate.java:40) at io.reactivex.Observable.subscribe(Observable.java:10179) at io.reactivex.internal.operators.observable.ObservableSubscribeOn$1.run(ObservableSubscribeOn.java:39) at io.reactivex.Scheduler$1.run(Scheduler.java:134) at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:59) at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:51) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

If AndroidP7zip supports these feature

Hi,
It's not an issue though, want to check if Android7zip supports following features or not:

  • Check if it use 3rd party lib /External dependencies
  • Can Extract
  • Can Compress
  • Can Read
  • Can Write
  • Add entries in zip
  • Remove entries from zip
  • Can Handle Password Protection
  • Can support different languages
  • Can Handle File size > 4GB (check this)
  • In-memory archive

Also, what will be the the approximate size increase after using this library and how is the performance?

Looking forward for quick reply :)

可以更新下p7zip吗?

它的最新版本是15.09,在CPP目录下有一个Android目录,.so文件不知道是否可以直接由它编译出来?
想问一下.so文件是如何编译出来的,用的哪些资源?

Using as 3rd party library

Hi!
I'm looking for a library that can manage some files, mainly tar and zip. This library is perfect and I've tested it, it works pretty well!

I would like to ask you if you can provide a folder with the necessary headers to include your library in another project. Also, if it's possible, a mini tutorial to use the library as stand alone.

Many thanks for your work!

All archives missing from P7zip file browser

I can't test out the app's ability to extract an archive, because the app's file browser does not display any archives. I have some .zip files and some .7z files which show up in Amaze File Browser, but in the same location cannot be found in P7zip.

See for yourself:
Screenshot_۲۰۲۱۱۲۱۳-۱۴۰۸۳۳_Amaze
Screenshot_۲۰۲۱۱۲۱۳-۱۴۰۸۵۴_P7Zip_1

How to check & extract password protected files?

How can I check if a file is password protected and how to extract a password protected file?
Which command do I need for that? and from where can I get all the commands ?

Also, how to implement compression with password?

Any plan to add new features?

The project looks inactive now. Is it in the maintenance-only phase? Any chance to add new features like dark mode etc.?

RAR

How to compress to RAR format ?

settings

please, add 'settings' section, to set compression and other options of 7z!
many thanks in advance!

Return Output/Error as String?

Is there a way to get the output or error message as a String I can use in the application?
For example if I want to get the list of files inside the archive, using the below command, is there a way to get the list that is output?
7z l archive.zip
Right now the command just returns the error code Int, with no command output.

能否适配Scoped Storage

现在的命令接口是传入文件路径,能否适配Android 10之后的scoped storage,增加读取Content URI的接口

Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libp7zip.so" not found

Some of the device i got the crashes into your dependency.

implementation

implementation 'com.hzy:libp7zip:1.7.0;

 ndk {
            abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
        }

Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libp7zip.so" not found at java.lang.Runtime.loadLibrary0(Runtime.java:1087) at java.lang.Runtime.loadLibrary0(Runtime.java:1008) at java.lang.System.loadLibrary(System.java:1664) at com.hzy.libp7zip.P7ZipApi.<clinit>(P7ZipApi.java:24) at com.hzy.libp7zip.P7ZipApi.executeCommand(P7ZipApi.java) at TemplateSelectionActivity.runCommand(TemplateSelectionActivity.java:472) at TemplateSelectionActivity.onExtractFile(TemplateSelectionActivity.java:467) at TemplateSelectionActivity.access$1100(TemplateSelectionActivity.java:67) at TemplateSelectionActivity$7.completed(TemplateSelectionActivity.java:443) at com.liulishuo.filedownloader.FileDownloadMessenger.handoverMessage(FileDownloadMessenger.java:344) at com.liulishuo.filedownloader.FileDownloadMessageStation$UIHandlerCallback.dispose(FileDownloadMessageStation.java:185) at com.liulishuo.filedownloader.FileDownloadMessageStation$UIHandlerCallback.handleMessage(FileDownloadMessageStation.java:173) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:237) at android.app.ActivityThread.main(ActivityThread.java:8163) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)

Untitled

我导入项目的时候报错了,以下是Log,可以帮我看下吗?

Build command failed.

Error while executing process E:\Users\Administrator\AppData\Local\Android\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HG:\project\AndroidP7zip-master\libp7zip\src\main\cpp -BG:\project\AndroidP7zip-master\libp7zip.externalNativeBuild\cmake\release\armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-16 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=G:\project\AndroidP7zip-master\libp7zip\build\intermediates\cmake\release\obj\armeabi-v7a -DCMAKE_BUILD_TYPE=Release -DANDROID_NDK=E:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle -DCMAKE_TOOLCHAIN_FILE=E:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=E:\Users\Administrator\AppData\Local\Android\sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja -DANDROID_STL=gnustl_static -DANDROID_PLATFORM=android-18}

(include) CMakeLists.txt
Open File

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage

CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

-- Configuring incomplete, errors occurred!

Build command failed.

Error while executing process E:\Users\Administrator\AppData\Local\Android\sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {-HG:\project\AndroidP7zip-master\libp7zip\src\main\cpp -BG:\project\AndroidP7zip-master\libp7zip.externalNativeBuild\cmake\debug\armeabi-v7a -DANDROID_ABI=armeabi-v7a -DANDROID_PLATFORM=android-16 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=G:\project\AndroidP7zip-master\libp7zip\build\intermediates\cmake\debug\obj\armeabi-v7a -DCMAKE_BUILD_TYPE=Debug -DANDROID_NDK=E:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle -DCMAKE_CXX_FLAGS=-DNATIVE_LOG -DCMAKE_TOOLCHAIN_FILE=E:\Users\Administrator\AppData\Local\Android\sdk\ndk-bundle\build\cmake\android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=E:\Users\Administrator\AppData\Local\Android\sdk\cmake\3.6.4111459\bin\ninja.exe -GAndroid Gradle - Ninja -DANDROID_STL=gnustl_static -DANDROID_PLATFORM=android-18}

(include) CMakeLists.txt
Open File

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage

CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage

-- Configuring incomplete, errors occurred!

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.