-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
190 additions
and
255 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,12 @@ An Android compress and extract library, P7Zip port for Android | |
|
||
### Details | ||
#### Get Started | ||
* Download to experience[download](https://github.com/hzy3774/AndroidP7zip/releases/latest) | ||
|
||
* Add gradle dependencie: | ||
``` gradle | ||
dependencies { | ||
implementation 'com.hzy:libp7zip:1.6.0' | ||
implementation 'com.hzy:libp7zip:1.7.0' | ||
} | ||
``` | ||
* Or just download the aar [here](https://jcenter.bintray.com/com/hzy/libp7zip/) | ||
|
@@ -31,6 +32,12 @@ android { | |
P7ZipApi.executeCommand(String command); | ||
``` | ||
|
||
* Commands: | ||
``` shell | ||
7z a archive1.zip subdir\ | ||
7z x archive.zip -oc:\soft *.cpp -r | ||
``` | ||
|
||
### Screenshot | ||
 | ||
|
||
|
@@ -42,23 +49,27 @@ P7ZipApi.executeCommand(String command); | |
|
||
| Format | Creation | Filename Extensions | | ||
|:-------|:---------|:-----------------| | ||
| 7z | X | 7z | | ||
| BZIP2 | X | bz2 bzip2 tbz2 tbz | | ||
| GZIP | X | gz gzip tgz | | ||
| TAR | X | tar | | ||
| WIM | X | wim swm | | ||
| XZ | X | xz txz | | ||
| zip | X | zip zipx jar xpi odt ods docx xlsx epub | | ||
| 7z | √ | 7z | | ||
| BZIP2 | √ | bz2 bzip2 tbz2 tbz | | ||
| GZIP | √ | gz gzip tgz | | ||
| TAR | √ | tar | | ||
| WIM | √ | wim swm | | ||
| XZ | √ | xz txz | | ||
| zip | √ | zip zipx jar xpi odt ods docx xlsx epub | | ||
|
||
### About Me | ||
* GitHub: [https://huzongyao.github.io/](https://huzongyao.github.io/) | ||
* ITEye博客:[http://hzy3774.iteye.com/](http://hzy3774.iteye.com/) | ||
* 新浪微博: [http://weibo.com/hzy3774](http://weibo.com/hzy3774) | ||
* ITEye博客:[https://hzy3774.iteye.com/](https://hzy3774.iteye.com/) | ||
* 新浪微博: [https://weibo.com/hzy3774](https://weibo.com/hzy3774) | ||
|
||
### Contact To Me | ||
* QQ: [377406997](http://wpa.qq.com/msgrd?v=3&uin=377406997&site=qq&menu=yes) | ||
* QQ: [377406997](https://wpa.qq.com/msgrd?v=3&uin=377406997&site=qq&menu=yes) | ||
* Gmail: [[email protected]](mailto:[email protected]) | ||
* Foxmail: [[email protected]](mailto:[email protected]) | ||
* WeChat: hzy3774 | ||
|
||
 | ||
 | ||
|
||
### Others | ||
* 想捐助我喝杯热水(¥0.01起捐)</br> | ||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
app/src/androidTest/java/com/hzy/p7zip/app/ExampleInstrumentedTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 11 additions & 10 deletions
21
app/src/main/java/com/hzy/p7zip/app/activity/MainActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
app/src/main/java/com/hzy/p7zip/app/adapter/FileItemAdapter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
app/src/main/java/com/hzy/p7zip/app/adapter/PathItemAdapter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
app/src/main/java/com/hzy/p7zip/app/fragment/AboutFragment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
app/src/main/java/com/hzy/p7zip/app/fragment/HelpFragment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.