What is the difference between ContentProviders and ContentResolver? I do not want for the SQLite
database. I am developing an app
ContentProviders
are used to abstract the database from other parts and acts as an interface between your database and UI/other classes. You must create your own ContentProvider to share your app data with other apps.
ContentResolver
is used to select the right ContentProvider based on the ContentUris
. A ContentUri may look like
content://com.android.contacts/contacts/3
NOTE : Your own app can also use this route to handle its data.
See Content Providers in Android for more detail