Now move to Data base ..
we use SQLite for take access on data.
Introduction
In this article, we will see how to create a SQLite
database in an Android application. We will also see how to add records to the
database and read and display in an application.
SQLiteDatabase
In Android, the SQLiteDatabase namespace defines the
functionality to connect and manage a database. It provides functionality to
create, delete, manage and display database content.
Create a Database
Simple steps to create a database and handle are as
following.
- Create
"SQLiteDatabase" object.
- Open
or Create database and create connection.
- Perform
insert, update or delete operation.
- Create
Cursor to display data from table of database.
- Close
the database connectivity.