What is difference between contentprovider and contentResolver in android

Akshay Mukadam picture Akshay Mukadam · Sep 18, 2013 · Viewed 37.6k times · Source

What is the difference between ContentProviders and ContentResolver? I do not want for the SQLite database. I am developing an application for media.

Answer

user1700184 picture user1700184 · Sep 18, 2013

I found some explanation here. In summary

Content Resolver resolves a URI to a specific Content provider.

Content Provider provides an interface to query content.

The way to query a content provider is contentResolverInstance.query(URI,.....)