App Inventor Extensions


Zip/Unzip Extension

See the App Inventor Extensions document about how to use an App Inventor Extension.

For questions about this extension or bug reports please start a new thread in the App Inventor Extensions forum. Thank you.

For feature requests please contact me by email. To be a sponsor of a new method already is possible starting from only 10 USD! With your contribution you will help the complete App Inventor community. Thank you.

Mar 24th, 2016: Initial Version 1 for App Inventor version ai2extensions7 and Companion version 2.36cdk1

Apr 20th, 2016: Version 2: password protection added

Aug 11th, 2016: Version 2a: avoid DX execution failed error: build each extension separately

Description

Extension to zip/unzip files including password protection (AES 256 encryption).
Required permissions: android.permission.READ_EXTERNAL_STORAGE, android.permission.WRITE_EXTERNAL_STORAGE
Thank you Detlef for being the sponsor of this extension!
Thank you Edmark for being the sponsor of the password protection!
This extension uses the Zip4j library. Thank you Srikanth!

Properties


Returns whether Warnings should be suppressed


Specifies whether Warnings should be suppressed

Methods


Zip a directory.
Optionally use password to protect the zip file using AES 256 Encryption.


Unzip file.
Use password to unzip AES 256 password protected files.

Events


Event indicating that a Zip has finished.
The created zip file name will be provided in parameter zipFileName


Event indicating that an Unzip has finished.
Parameter fileList will contain the list of files, which have been extracted.

Example Use


zip

unzip

Do you need help with your App Inventor project?

I can help you: for one hour I charge 25 USD.
Please contact me at info [at] puravidaapps [dot] com for details!
For questions about App Inventor, please use the App Inventor forum. Thank you.

Terms and Conditions

Download


If you find this example helpful and you are using it in one of your projects,
be nice and donate a small amount!

Donation amount:

or donate some mBTC to Bitcoin Address:
1Jd8kXLHu2Vkuhi15TWHiQm4uE9AGPYxi8
Bitcoin

Thank you! Taifun
 

Download TaifunZip extension (aix file)
Download Zip/Unzip test project (apk file)
Back to top of page ...


Home | Snippets | Tutorials | Extensions | News | Forums | Links | Search | Contact