Introduction to SQLite Database for Android

Now move to Data base ..
we use SQLite for take access on data.


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.


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.
  1. Create "SQLiteDatabase" object.
  2. Open or Create database and create connection.
  3. Perform insert, update or delete operation.
  4. Create Cursor to display data from table of database.
  5. Close the database connectivity.


Related Posts Plugin for WordPress, Blogger...