SQLite on Android
SQLite on Android
What is
SQLite?
SQLite is an Open Source database. SQLite
supports standard relational database features
like (SQL syntax, transactions and prepared
statements).The database requires limited
memory at runtime (approx. 250 K Byte) which
makes it a good candidate from being
embedded into other runtimes. SQLite supports
the data types TEXT (similar to String in Java),
INTEGER (similar to long in Java) and REAL
(similar to double in Java).
SQLite in
Android
SQLite is a open source SQL database that
stores data to a text file on a
device. Android comes in with built
in SQLite database
implementation. SQLite supports all the
relational database features.
Uses of SQLite Database
Storing data
Manipulating data
retrieving data from the database
Useful class
SQLiteDatabase
For managing Database operations
SQLiteOpenHelper
For Creating Data base and Upgrade
ContentValues
For Inserting (Writing) Data to Database
Thank You