Titanium Community Questions & Answer Archive

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

Mobile database install failing to work?

Hi guys,

Got myself a bit of an issue. I've created a SQLite3 database in PHP which contains 3 tables containing around 26,000 records. When I try to Ti.Database.install() the database and access it an error is returned saying the file is either not a database or is encrypted - my PHP scripts have no issue accessing it.

I decided to try another method of quering the database via http access in order to indirectly update a self contained database within the app but due to so many records the app dies rather quickly.

Any suggestions would be appreciated.

— asked May 15th 2010 by Steve Clarke
  • database
  • mobile
0 Comments

3 Answers

  • Android? Big database? The file in your resources directory needs to end with .mp3 or it doesn't get copied correctly

    — answered May 15th 2010 by Damien Elmes
    permalink
    0 Comments
  • iPhone, probably should have mentioned that - does the same case still apply?

    — answered May 15th 2010 by Steve Clarke
    permalink
    0 Comments
  • I believe the issue is Android-specific, I'm afraid.

    — answered May 18th 2010 by Damien Elmes
    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.