Android ORMLite with SQLite Database Tutorial
This tutorial will guide you how to implement ORMLite (a very light weight, open source, Android compatible ORM) in an Android project and what are the benefits you may achieve compare to conventional way of using SQLite from Android. You will learn to build an app with ORMLite that allows you to store and view data from a database.
The attached source code is a simple Android application named “StudentDirectory“, which will store the student records into the SQLite database along with its class teacher’s details. So, use cases of the applications are:
- Create Teacher record.
- Create Student record.
- View list of Students stored into the db.
- View list of Teachers stored into the db.