The documentation on Android content providers describes using a ContentResolver
, obtained from getContentResolver()
, to access the content.
I think the another import difference is ContentProviderClient can be cast into your custom provider object and access other method besides CRUD.
ContentProvider cp = getContentResolver().acquireContentProviderClient(mCurUri).getLocalContentProvider();
yourProvider fld = (yourProvider)cp;
fld.query(...); // you can query as ContentResolver
fld.addFolder(newFolder); // also can invoke the extend method of your custom ContentProvider