public static void insertToBookFav(ContentResolver resolver, Book bookinfo) {
   ContentValues values = new ContentValues();
   values.put(DbTags.FIELD_BOOK_NAME, bookinfo.getBookName());
   values.put(DbTags.FIELD_BOOK_PATH, bookinfo.getBookPath());
   values.put(DbTags.FIELD_BOOK_ADD_TIME, bookinfo.getBookAddTime());
   values.put(DbTags.FIELD_BOOK_SIZE, bookinfo.getBookSize());
   resolver.insert(Uri.parse(DbTags.URI_TABLE_BOOK_FAV), values);
 }
 public static void insertToBookInfo(ContentResolver resolver, Book bookinfo) {
   ContentValues values = new ContentValues();
   values.put(DbTags.FIELD_BOOK_NAME, bookinfo.getBookName());
   values.put(DbTags.FIELD_BOOK_AUTHOR, bookinfo.getBookAuthor());
   values.put(DbTags.FIELD_BOOK_PATH, bookinfo.getBookPath());
   values.put(DbTags.FIELD_BOOK_ADD_TIME, bookinfo.getBookAddTime());
   values.put(DbTags.FIELD_BOOK_OPEN_TIME, bookinfo.getBookOpenTime());
   values.put(DbTags.FIELD_BOOK_CATEGORY_ID, bookinfo.getBookCategoryId());
   values.put(DbTags.FIELD_BOOK_CATEGORY_NAME, bookinfo.getBookCategroyName());
   values.put(DbTags.FIELD_BOOK_SIZE, bookinfo.getBookSize());
   values.put(DbTags.FIELD_BOOK_PROGRESS, bookinfo.getBookProgress());
   resolver.insert(Uri.parse(DbTags.URI_TABLE_BOOK_INFO), values);
 }