1. add "if (body.trim().equals("")) { ERROR }" to the saveState method.2. if you have the id of the blank note there is a pre exsiting method to delete it in NotesDbAdapter.java. It can be called via mDbHelper.delete(id).