摘要:
Android中,通常会用ContentProvider来封装数据库操作接口;1. 封装数据库的相关字段,/* * notes table */ public static final class Notes implements BaseColumns { /* * title of note */ public static final String TITLE = "title"; /* * body of note */ public static final String BODY = "body"; /* * creating time... 阅读全文