I am developing an application that requires the use of a SQLite database. I implemented data sampling, but before trying to insert data, I encounter problems. The problem that I am facing is that the new data that I entered is not saved, i.e. Nothing new is entered into the database.
This is my insert code, myDataBase is an instance of SQLiteDatabase.
public void insertTitle(String Recipe) { ContentValues initialValues = new ContentValues(); initialValues.put(COLUMN_NAME,value); myDataBase.insert(ZRECIPE, null, initialValues); }
android sqlite
Jaymin
source share