Posted By

lspellman on 01/19/12


module zipfile Titanium Appcelerator

Versions (?)

Titanium Appcelerator zipfile module: extract method that works for 1.8

 / Published in: JavaScript


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+'', appDir);

Report this snippet  

You need to login to post a comment.