SQLite Database Tutorial In Android

Page 1

SQLite Database Tutorial In Android Pos ted on J uly 9, 2018 by Bhadres h

S QLite Databas e in Android us ed to s tore pers is tent data. If you want to s tore s ome data into local s torage then S QLite Databas e is the mos t common s torage option. It is lightweight databas e that comes with Android OS . In Android T here are others data s torage options als o available Like S hared Preference to s tore s mall amount of data in form of Key / Value pair. S QLite Databas e File S ys tem Here we are going to learn how to us e SQLite Databas e in Android application. S QLite is an open s ource S QL databas e which s tore the data into text le on android device. S QLite databas e in android als o s upport relational databas e features . In order to acces s S QLite Databas e you don’t need to es tablis h any kind of connections like J DBC, ODBC. 1. Overview In this tutorial we are going to create Student App to learn all the operation related the S QLite Databas e. T he app is very s imple and which allow us to ins ert, update, delete and view s tudent data. We will us e 2 s creen to perform all this operations . In rs t s creen we fetch full lis t of s tudent from the s tudent table while us ing s econd s creen update or add new s tudent record. Following is the S tudent app s creen s hot.


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
SQLite Database Tutorial In Android by Android 5 - Issuu