1. Are you ready for the Galaxy S20? Here is everything we know so far!

Apps Notepad Tutorial and SQLite Database

Discussion in 'Android Development' started by Jeff-S, Feb 16, 2011.

  1. Jeff-S

    Jeff-S Lurker
    Thread Starter

    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
     

    Advertisement

  2. miXer

    miXer Android Enthusiast

    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
     
Loading...

Share This Page

Loading...