The Task Reminder application needs a place to store and retrieve the user's tasks, and the best place for this kind of information is inside an SQLite database. Your application needs to read, create, update, and delete tasks from the database.
The Create, Read, Update, and Delete actions are known as CRUD operations — each letter standing for its respective action.
The two activities in the Task Reminder application need to perform various duties on the database to operate. ReminderEditActivity needs to do the following:
The ReminderListActivity needs to perform these duties:
To work with an SQLite database, you must communicate with SQLite through classes in the android.database package. Because common practice is to abstract as much of the database communication away from the Activity objects as possible, the database mechanisms are placed into another Java file (and usually a package if the database portion is quite large) to help separate the application into layers of functionality. Therefore, if you ever need to alter ...