/ Published in: JavaScript
How to get extract method for zipfile module to work with Ti 1.8 sdk.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var appDir = Ti.Network.decodeURIComponent( Ti.Filesystem.applicationDataDirectory).replace( 'file://localhost', ''); zipfile.extract(appDir+'Archive.zip', appDir);
URL: http://lancespellman.com/2012/01/17/titanium-appcelerator-and-zipfile-module/