ChildOfCode


Code, Maker, Robotic, Open Source. Knowledge Bases


Tag: applicationDataDirectory


  1. Titanium Studio Save the Apps data in the Filesystem

    In IOS is only Internal Storage ,but in Android is diffrent since some android device can use sd-card theClass.prototype.WriteLog = function(theJSON){ Ti.API.info('WriteLog = ' + new Date() ); var thisClass = this; var jsonDir = ''; var dateObj = new Date(); var month = dateObj.getUTCMonth() + 1; //months from 1-12 var day…

    Android, JavaScript, Titanium, IOS, JSON, Filesystem, applicationDataDirectory, externalStorageDirectory