• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Notepad Tutorial and SQLite Database

Jeff-S

Lurker
I've been through the Notepad Tutorial, and have gotten the program to work. Past that, I've made small embellishments to the stock Notepad program to experiment with how things work.

Regarding the SQLite database used in this example. What I'd basically like to know is where is the data stored? Is it stored as a file on the SD Card, in the phone's base memory, or...? What is this file called? Does it have a name? Can it be seen, or browsed, with say ASTRO file viewer?

I'm just curious where this data is being stored. Oh, and if you uninstall the app, does it delete this database too?

Thanks
 
The data is stored in a database(.db) file in the path /data/data/PACKAGE/databases/DATABASEFILE, where PACKAGE is the packagename in AndroidManifest.xml and DATABASEFILE is the name given when instantiating the SQLiteOpenHelper
 
Back
Top Bottom