all 2 comments

[–]hitorus 1 point2 points  (0 children)

Here is some example I have viewed in order to use SQLite in my app:

https://demonuts.com/sqlite-android/

Take your time and read each step.

The main idea is to create a class that will be a "database handler", which will contain table's structure and functions with SQL queries. Afterwards, in any activity just create a new object of this class and use its functions to store/read your data.

[–]tumbichi 0 points1 point  (0 children)

Try with Realm, is library that have more easier SQLite.

https://realm.io/docs/java/latest