Yes. v1.01 is attached to the first post. It includes two new methods: AsyncZipFolder and AsyncUnzip.
B4X:
Dim av As Archiver
av.AsyncUnzip(File.DirDocuments, "1.zip", File.DirTemp, "", "av")
Sub av_UnzipDone (Success As Boolean)
Log(Success)
Log(File.ListFiles(File.DirTemp))
End Sub
Sub av_ZipDone (Success As Boolean)
Log(Success)
Log(File.Size(File.DirDocuments, "1.zip"))
End Sub
The zip file contains three files with the following extensions: .xml, .a and .h.
You need to copy the xml file to the internal libraries folder on the Windows computer.
If you are using a local Mac builder then you need to copy the .a and .h files to the Mac Libs folder.
Sorry, I'm sure this is a dumb question but I don't understand where to put the xml file - I get an error if I put it in the B4 Additional Libraries folder.
Thanks Erel for clearing that up, that's what I understood from your original post. Sorry about my ignorance of Windows, but I still don't understand what the internal libraries folder in Windows is
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.