Titanium.Database.install

Function of Titanium.Database.
Platform Since
Android 0.1
iPhone 0.1
iPad 0.1

Summary

install a database from the application Resources folder (at build time) and return a reference to the opened database. it is safe to call this method multiple times since this method will only install once if it doesn't already exist on the device.

Arguments

Name Type Summary
path String

the path (relative to the main application Resources folder at build time) to the db to install. this file must be in the SQLite 3 file format.

name String

the name of the database

Return Type