A Cursor provides random access to the result set returned by a database query. This is a Registration app. In the below code, we have used the rawQuery() which returns a cursor to get data from the SQLite database through looping. I … Create a new android application using android studio and give names as SQLiteExample. Example of SQLite. To create an Employee, the user needs to select the corresponding Employer. Hello friends, today we will see a simple SQLite CRUD Example in Android using ActiveAndroid Library. Create a SQLite Database in the application’s context, so thatRead More » This is a simple application showing use of Sqlite database in android . Fill the forms and click "Finish" button. Take note of the object returned by the query. If you are not familiar with the concept, check out my previous article discussing Android data binding. Note that Employer class implements the BaseColumns interface. Now let’s start by creating new project in Android Studio. I have also posted about SQLite CRUD Example in Android before. Next, we create a SimpleCursorAdapter instance passing it the Cursor, an array of columns to display (adapterCols), and an array of views that the columns should be displayed in (adapterRowViews). Facebook. Fill the forms and click "Finish" button. You may want to read both if you aren’t familiar with the concepts.