Posted By

lspellman on 01/19/12


Tagged

module zipfile Titanium Appcelerator


Versions (?)

Titanium Appcelerator zipfile module: extract method that works for 1.8


 / Published in: JavaScript
 

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

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

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

Report this snippet  

You need to login to post a comment.