转自:http://wq294948004.iteye.com/blog/1104661
ContentProvider 提供了程序之间共享数据的方法。
数据模型类似数据库中的table,行表示一条记录,列表示字段。
每个ContentProvider都有一个URI,唯一标识它的数据集。
使用ContentResolver,通过指定的URI可与任意ContentProvider交互,对数据可以进行增、删、改、查操作。
参看Android Developers官网
转自:http://wq294948004.iteye.com/blog/1104661
ContentProvider 提供了程序之间共享数据的方法。
数据模型类似数据库中的table,行表示一条记录,列表示字段。
每个ContentProvider都有一个URI,唯一标识它的数据集。
使用ContentResolver,通过指定的URI可与任意ContentProvider交互,对数据可以进行增、删、改、查操作。
参看Android Developers官网