ContentProvider的根本使用

ContentProvider的基本使用ContentProvider:内容提供者。她主要完成这么一件事:共享数据。将一个应用的数据

ContentProvider的基本使用

ContentProvider:内容提供者。她主要完成这么一件事:共享数据。将一个应用的数据共享给其他应用


代码如下:

1、SQLiteProvider

<provider android:name="com.njupt.practice_contentprovider1.provider.SQliteProvider"            android:authorities="jd_love_ztmm"            android:exported="true"/>