veniosg / Dir

A modern File Manager for Android
http://veniosg.github.io/Dir
Apache License 2.0
188 stars 44 forks source link

Add 7zip support #43

Open SanmayJoshi opened 6 years ago

SanmayJoshi commented 6 years ago

A split of issue #41

I think adding compression/extraction and encryption/decryption functionality would make the app pretty much of all rounder for offline needs.

For compression/extraction, I think rar, zip and 7zip are mostly used ones. Though I don't know exact libraries for this but maybe Amaze file manager's code may help.

The app already supports .zip .

bdtoole commented 6 years ago

While Amaze currently doesn't support this, one of the feature requests for it talks about commons-compress as a way to implement it. For reference, here's the Amaze feature request.

veniosg commented 6 years ago

That's incredible, and while it lacks rar support, I'd be inclined to consider that a non-issue given the breadth of supported formats here. Last consideration for this is the effect on apk size, but it looks promising, especially if proguarded.

veniosg commented 6 years ago

Seems like the jar itself is 500kb, which is a bit less than half the current apk size - not tiny. We'd have to test on a real build and ideally with proguard to validate.