I am trying to install a database on the SDCARD by using this command:
var hdwDBTest = Titanium.Database.install('hdwbin2', Ti.Filesystem.externalStorageDirectory + 'customer' + Ti.Filesystem.separator + 'hdwbin2');and I keep getting this error:
[ERROR][TiExceptionHandler(15327)] (main) [601,1536] ----- Titanium Javascript Runtime Error ----- [ERROR][TiExceptionHandler(15327)] (main) [1,1537] - In ti:/invoker.js:101,19 [ERROR][TiExceptionHandler(15327)] (main) [0,1537] - Message: Uncaught Error: File appdata://customer/hdwbin2 contains a path separator [ERROR][TiExceptionHandler(15327)] (main) [0,1537] - Source: return delegate.apply(invoker.__thisObj__, args); [ERROR][V8Exception(15327)] Exception occurred at ti:/invoker.js:101: Uncaught Error: File appdata://customer/hdwbin2 contains a path separatorCan someone point me in the right direction please?