Question

I'm getting used to using Titanium Alloy to build apps and I've added some model JS files and created some of those models using the Alloy.createModel method, and then saved them using the .save() method.

The only thing I can't work out is, where is this database and how can I view it and inspect the tables? Can I use a database browser such as Sequal Pro to view it?

EDIT: I'd like to view the database that I'm testing with on my emulator. Viewing a database from an iPhone would also be great.

Was it helpful?

Solution

You have to find the sqlite database file in the iPhone Simulator support files:

~/Library/Application Support/iPhone Simulator/[OS version]/Applications/[appGUID]/

And then go to private documents.

Copy it do desired folder and then use with sqlite manager or similar :)

Thanks

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top