Reputation: 157
im new to appcelerator titanium. im trying to install a database but i couldn't.
i have tried the following codes,
Ti.Database.install('myDB.sqlite', 'myDB');
var db = Ti.Database.open('myDB');
var db = Titanium.Database.install('myDB.db','myDB');
var db = Titanium.Database.install('myDB.sqlite','myDB');
but it shows the error -
invalid database install path. /Users/wintech/Library/Application Support/iPhone Simulator/5.0/Applications/E1DC3E24-7BA6-4A69-94B7-87256846F500/Sample.app/myDB.sqlite in -[TiDatabaseProxy install:name:] (TiDatabaseProxy.m:120)
please help me friends!!
Upvotes: 0
Views: 1387
Reputation: 2897
Just over the good tutorial series:
You will find many tutorials of Titanium.
Cheers!
Upvotes: 1