question: public void createNote ( Note note ) { SQLiteDatabase db = getWritableDatabase ( ) ; String spannableAsHtml = Html . toHtml ( note . getSpannable ( ) ) ; String date = dt . format ( new Date ( ) ) ; ContentValues values = new ContentValues ( ) ; values . put ( KEY_SPANNABLE_NOTE , spannableAsHtml ) ; values . put ( KEY_NOTE_TITLE , note . getTitle ( ) ) ; values . put ( KEY_IMAGE , BitmapConverter . getBytes ( note . getImage ( ) ) ) ; values . put ( KEY_DATE_UPDATED , date ) ; db . insert ( TABLE_NOTES , null , values ) ; db . close ( ) ; }
target:  Method used to put Note object into Database