Titanium Community Questions & Answer Archive

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

Database - how big ? and where stored ?

Hi,

In my app I am using a sql database created by the

db = Titanium.Database.open('dbname');

command. Initially, the database is empty.

All works well. Some questions: Where is this database located on my android phone ? Cannot find it on my SD-card. What would you tell the app users to backup the data ? Are there critical size limits ? Better to use the Titanium.Database.install command to have it on the SD card ?

Thanks for any answer.
Titanium is great.

rudolf

— asked May 2nd 2010 by Rudolf Bumm
  • android
  • database
  • mobile
0 Comments

2 Answers

  • Accepted Answer

    /data/data/<app id>/databases

    I'm not sure Titanium allows databases to be opened on the SD card.

    — answered May 2nd 2010 by Damien Elmes
    permalink
    0 Comments
  • How do you get to that directory in Windows?

    — answered January 26th 2012 by Darel Johnson
    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.