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, bug reports and feature requests, please start a new thread in the App Inventor Extensions forum. 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


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!


Returns whether Warnings should be suppressed

Specifies whether Warnings should be suppressed


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.


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



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


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:

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