Android Question unzip from assets

Cadenzo

Active Member
Licensed User
Longtime User
I have an zip-file in assets and want to unzip it in the default folder. It has some files and subfolders. I read about some different solutions / libraries in the forum. What would be the best lib now? Is it possible with an intern librarie? Even better, if there is a cross platform (B4A, B4i) solution.
 

JohnC

Expert
Licensed User
Longtime User
Whichever zip lib you choose, I would suggest to first to copy the ZIP file from DirAssets to DirInternal before trying to unzip it because there may be a chance that even though you are only doing an "unzip", the lib may try opening the zip file in a mode other then Read-Only and give some error that might not be clear that this was the cause.
 
Upvote 0
Top