SQLite is basically a Relational Database Management System (RDBMS), same as SQL. It is an open-source in-process library that is self-contained, serverless, has zero-configuration, and a transactional SQL database engine. Here, zero-configuration means unlike other database management systems, it doesn’t need to be configured on the devices. The Lite here in SQLite is in terms of its setup, the database administration, and all the required resources.
SQLite has many features which it supports as follows:
So, we know that SQLite is an open-source RDBMS used to perform operations on the databases stored in the form of rows and columns. SQLite is highly supported by Android; in fact, Android comes with the built-in database implementation of SQLite. It is available on each and every Android database and emphasizes scalability, centralization, concurrency, and control. This strives to provide storage at the local level for applications and devices. It is highly economical, efficient, reliable, and independent. It is very simple and doesn’t need to be compared with client/server databases.
1. SQLite supports the following three types of data:
In SQLite, the data types that are used are termed as valid; it is not validated by SQLite.
2. To use SQLite in Android applications, we use the package android.database.sqlite. This package contains all the APIs to use SQLite.
3. SQLiteOpenHelper is a class that is useful to create the database and manage it. The two constructors of SQLiteOpenHelper class are:
#android tutorials #android sqlite #sqlite android