public long insert() { ContentValues cv = new ContentValues(); db.open(); cv.put(KEY_NAME, name); cv.put(KEY_CATEGORY, category); cv.put(KEY_INGREDIENTS, ingredients); cv.put(KEY_INSTRUCTIONS, instructions); long id = db.insert(KEY_TABLE_NAME, cv); db.close(); return id; }