All Projects → ghost1372 → Mzip Android

ghost1372 / Mzip Android

Licence: apache-2.0
An Android compress and extract library support popular compression format such as rar, zip

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Mzip Android

ZeeArchiver
Zee is an efficient and simple to use Android Archiver and decompressor. It can decompress and compress from-to all the formats supported by the well known 7zip utility. Copyright © 2018 Mahmoud Galal , for support contact me:[email protected]
Stars: ✭ 35 (-63.16%)
Mutual labels:  zip, extract, archive
Libarchivejs
Archive library for browsers
Stars: ✭ 145 (+52.63%)
Mutual labels:  extract, zip, archive
Php Zip
PhpZip is a php-library for extended work with ZIP-archives.
Stars: ✭ 336 (+253.68%)
Mutual labels:  extract, zip, archive
box
Box - Open Standard Archive Format, a zip killer.
Stars: ✭ 38 (-60%)
Mutual labels:  zip, archive
Dareblopy
Data Reading Blocks for Python
Stars: ✭ 82 (-13.68%)
Mutual labels:  zip, archive
zipit
Decentralized or self-hosted encryption archives that work on any internet device.
Stars: ✭ 14 (-85.26%)
Mutual labels:  zip, archive
Ob3vil1on
Another archive cracker created in python | cracking [zip/7z/rar] by bruteforcing [ NOT MAINTAINED ]
Stars: ✭ 17 (-82.11%)
Mutual labels:  zip, archive
Decompress
Extracting archives made easy
Stars: ✭ 316 (+232.63%)
Mutual labels:  extract, zip
ratarmount
Random Access Read-Only Tar Mount
Stars: ✭ 217 (+128.42%)
Mutual labels:  zip, extract
Gittar
🎸 Download and/or Extract git repositories (GitHub, GitLab, BitBucket). Cross-platform and Offline-first!
Stars: ✭ 87 (-8.42%)
Mutual labels:  extract, archive
Kodexplorer
A web based file manager,web IDE / browser based code editor
Stars: ✭ 5,490 (+5678.95%)
Mutual labels:  zip, archive
kirby-backup-widget
Kirby panel widget to easily backup your site content.
Stars: ✭ 25 (-73.68%)
Mutual labels:  zip, archive
zzlib
zlib-compressed file depacking library in Lua
Stars: ✭ 44 (-53.68%)
Mutual labels:  zip, extract
minizip-asm.js
Minizip in javascript. Work with password. Demo:
Stars: ✭ 38 (-60%)
Mutual labels:  zip, extract
Libzip
A C library for reading, creating, and modifying zip archives.
Stars: ✭ 379 (+298.95%)
Mutual labels:  zip, archive
Nativexplatform
Akeeba Portable Tools (cross-platform) - Desktop utilities for use with Akeeba Backup and Akeeba Solo
Stars: ✭ 17 (-82.11%)
Mutual labels:  extract, zip
Archiver
Easily create & extract archives, and compress & decompress files of various formats
Stars: ✭ 3,373 (+3450.53%)
Mutual labels:  extract, zip
Flametree
🔥 Python file and zip operations made easy
Stars: ✭ 148 (+55.79%)
Mutual labels:  zip, archive
Zipper
🗳A library to create, read and modify ZIP archive files, written in Swift.
Stars: ✭ 38 (-60%)
Mutual labels:  zip, archive
Singlefilez
Web Extension for Firefox/Chrome/MS Edge and CLI tool to save a faithful copy of an entire web page in a self-extracting HTML/ZIP polyglot file
Stars: ✭ 882 (+828.42%)
Mutual labels:  zip, archive

GitHub version

Mzip-Android

An Android compress and extract library support popular compression format such as rar, zip that support android api >= 14 (may work >=9 not tested) also tested on android 7.1.1

ABOUT The LIBRARY....


The simple and useful library for android app developers to read/write archives like zip , rar. I needed compressing files for a project, Because I could not find a good and thorough library I wrote a nearly complete library. Other open source projects have been used to write this library.

Supported formats

.zip .rar (extract only ,may you can find a method to create look ir.mahdi.mzip.rar classes)

Download

You can use Gradle:

repositories {
 maven { url 'https://jitpack.io' }
}

dependencies {
  compile 'com.github.ghost1372:Mzip-Android:0.4.0'
}

Or Maven:

Step 1. Add the JitPack repository to your build file

<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Step 2. Add the dependency

<dependency>
	    <groupId>com.github.ghost1372</groupId>
	    <artifactId>Mzip-Android</artifactId>
	    <version>0.4.0</version>
	</dependency>

How do I use MZip?

Zip:

ZipArchive zipArchive = new ZipArchive();
zipArchive.zip(targetPath,destinationPath,password);

//Example
ZipArchive zipArchive = new ZipArchive();
zipArchive.zip("/sdcard/file.pdf","/sdcard/file.zip,"");

//if you want protect with password
zipArchive.zip("/sdcard/file.pdf","/sdcard/file.zip,"123456 or anything you want");

Unzip

ZipArchive zipArchive = new ZipArchive();
zipArchive.unzip(targetPath,destinationPath,password);

//Example
ZipArchive zipArchive = new ZipArchive();
zipArchive.unzip("/sdcard/file.zip","/sdcard/folder","");

//if your file protected with password
zipArchive.unzip("/sdcard/file.zip","/sdcard/folder","123456 or anything you want");

If your file does not have a password, Leave it blank.
Rar:

RarArchive rarArchive = new RarArchive();
rarArchive.extractArchive(file archive, file destination);

//OR use String path
rarArchive.extractArchive(string archive, string destination);

//Example
RarArchive rarArchive = new RarArchive();
rarArchive.extractArchive("/sdcard/file.rar","/sdcard/folder");


for other various format you can use RarArchive class and extractArchive function it must be work with tar and other formats.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].