-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support 7-Zip archives #163
Comments
It can be done with commons-compress... |
@wb9688 What do you mean? |
Hello, Best regards |
Commons compress is already implemented... Adding 7z to the decompression is not that difficult, see CompressedHelper. |
Hello Emmanuel, Edit : I've just try : your script it don't work this way, maybe I have to edit some stuff into it ? ty
|
To add support for 7zip you must create the Decompressor and Extractor and then add the constructors to getCompressorInstance() and getExtractorInstance() respectively (for that you will need to create the isSevenZip() function in CompressedHelper). Then recompile and run. |
@EmmanuelMess maybe you can implement it? It's difficult for someone without the knowledge of java programming. |
Not enough time, will see. |
I don't kwow why that make you mad ?! That was constructive & polite, it don't need to be moderated (just answer "I can't give you info" or anything else). Don't care about me I'll never ask you anything... Bye |
@B4rabbas This is a 7z issue in a file manager, your deleted comment wasn't constructive, it was just asking for tutorials, this is not the place. |
If I compile an apk with the compress-commons code and share it there I think it's a good request if the issue is fixed at the end... |
A little update about the situation. For processing 7zip files, commons-compress seems to be the obvious choice, since we had been using it and if you don't want to mess with yet another external library. I did wrote some POC on my own feature branch (which is a greedy one, I was trying to solve #138 and bring #1222 back), but end up crashing my Oneplus 2 running Slim7 (7.1.2)
And it turned out, Choices ahead:
Either way, feel free to contribute if you like, either fork my branch or roll your own PR. |
Tried to fix the compatibility problem with "backported" commons-compress's 7zip to use Though displays are incorrect, at least such modified code can run fine on Android emulator running 4.4 (API 19). Will continue work on as time allows. |
@TranceLove great! Really appreciate you finding time to work on it. I'll also check your code and see if I can be of any help. |
Please add support for 7-Zip (.7z) archives. Preferably also support encrypted ones.
The text was updated successfully, but these errors were encountered: