The final output should look something like following: [SCREENSHOT – FIRST SCREEN] As you can see from the screenshots above initially user will see a list (which would be empty right now, since there are no records) and button called ‘Add‘.

Rather than executing a whole query at once, it is possible to set up a cursor that encapsulates the query, and then read the query result a few rows at a time.
One reason for doing this is to avoid memory overrun when the result contains a large number of rows.
The class DBIx:: Cursor represents a cursor for a single Database-table.
You can select, update, insert or delete entries in a table easier than creating SQL-statements.
There are two ways to read, update, or delete data.
Or you can use a cursor to read, update, or delete the record or key-value pair at the cursor’s position.[SCREENSHOT – LONG CLICK] By long pressing on record you can Delete or Update record.We will need to create three layouts for our project Layout 1: activity_This layout holds all the records and an Add button to add records.When there are no contacts, we are showing the “No Records” and when user inserts the data, we hide that section.Layout 3: table_This xml file for two DML (Data Manipulation Language – used for insert/ update/ delete queries) statements of SQLite Database i.e. Here, we have two fieds: public class SQLite Helper extends SQLite Open Helper We are creating a java file called SQLite Helper and extending SQLite Open Helper class and It is used to create a bridge between android and SQLite.Always do this after the insert, since it's faster to add the index in bulk than to update the index as you write into the temp table.