I started a titanium app that uses a sqlite db. I'm getting strange DB results so just want to browse the database using FF SQLite Manager but I'm not sure where the database is?
This is the code that creates the db (part):
var db = (function() {
//create an object which will be our public API
var api = {};
//maintain a database connection we can use
var conn = Titanium.Database.open('quote');
I'm running Titanium studio on a Mac.
Thanks,
Billy
i thought it was something like
have a look. consider that there are two /Library-Folders (in root and in home). sorry for the unprecise answer.
All your projects folders are located here:
They are sorted by app ID. In each folder you'll find a Databases.db file which contents your DBs if the app has one.
/data/data/your.app.id/databases/
For android , the location is /data/data/your.app.id/databases/
Ordinary, you could not direct see the file, unless you got the root permission。
And, you can use adb series command to get the file to you develop computer, and analyze the db file on you desktop computer.
For iOS, best way to see the db file is run the app in you simulater. the db file usually store at location simalar as this
The path is at