Return to Snippet

Revision: 54947
at January 19, 2012 03:01 by lspellman


Updated Code
var appDir = Ti.Network.decodeURIComponent(  
  Ti.Filesystem.applicationDataDirectory).replace(  
  'file://localhost', '');  
zipfile.extract(appDir+'Archive.zip', appDir);

Revision: 54946
at January 19, 2012 02:58 by lspellman


Updated Code
var appDir = Ti.Network.decodeURIComponent(Ti.Filesystem.applicationDataDirectory).replace('file://localhost', '');  
zipfile.extract(appDir+'Archive.zip', appDir);

Revision: 54945
at January 19, 2012 02:56 by lspellman


Initial Code
<p>var appDir = Ti.Network.decodeURIComponent(Ti.Filesystem.applicationDataDirectory).replace('file://localhost', ''); <br />
zipfile.extract(appDir+'Archive.zip', appDir);</p>

Initial URL
http://lancespellman.com/2012/01/17/titanium-appcelerator-and-zipfile-module/

Initial Description
How to get extract method for zipfile module to work with Ti 1.8 sdk.

Initial Title
Titanium Appcelerator zipfile module:  extract method that works for 1.8

Initial Tags
module

Initial Language
JavaScript