Use ContentValues as a means of writing data into SQLite. See how to use sqlite3 at the command line to query the database.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4561-saving-data-on-android/lessons/19