Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Titanium.Database is not initialized

Why is not initialized Titanium.Database object. I have this error message in log:

E/Web Console(  321): TypeError: Result of expression 'Titanium.Database' [undefined]
 is not an object. at file:///android_asset/Resources/html5demos/index.html:67

code in index.html that causes exception:

var db = Titanium.Database.open('session_db');

Who have successfuly worked with Titanium.Database object?

— asked August 11th 2010 by Eugene Taranov
  • titanium.database
0 Comments

1 Answer

  • It looks to me that you are doing this in a html file, am I wright?

    Since V1.x, titanium does not work anymore with html code.

    — answered August 11th 2010 by Dan Tamas
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.