An Android SQLite Project


This project demonstrates how to work with an SQLite database. There are normally two ways to manage SQLite data:
Data Access Object (DAO)
This application uses the DAO approach, which is responsible for handling the database connection and for accessing and modifying the data, so that the user interface code does not have to deal with the persistence layer.

Content Provider
An SQLite database is private to the application which creates it. A ContentProvider allows the data to be shared with other applications.
The following five components of this app will be detailed:


Add New4



Delete First





      A man comes to Mrs. Smith’s door and says,    
      “There’s been an accident at the brewery.    
      Your husband fell into a vat of beer and drowned.”    
      Mrs. Smith wails, “Oh, the poor man! He never had a chance!”    
      The man says, “I don’t know about that.    
      He got out three times to go to the bathroom.”