摘要: 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... 阅读全文
posted @ 2013-03-18 23:19 hunterDing 阅读(180) 评论(0) 推荐(0) 编辑