Top "Android-contentresolver" questions

A ContentResolver represents the connection between an app requesting data and the target ContentProvider.

Edit name/phone number of contact programmatically

I am trying to modify displayed name of a contact programmatically: try { ArrayList<ContentProviderOperation> ops = new ArrayList<…

android android-contacts contactscontract android-contentresolver
Get URI from ContentResolver.query()

I am querying the Images table to get all pictures in the MediaStore.Images.Media.EXTERNAL_CONTENT_URI directory. See …

android uri android-contentprovider android-contentresolver
Trouble writing internal memory android

void launchImageCapture(Activity context) { Uri imageFileUri = context.getContentResolver() .insert(Media.INTERNAL_CONTENT_URI, new ContentValues()); m_queue.add(imageFileUri); Intent …

android exception storage android-contentprovider android-contentresolver
How do I call custom method in ContentProvider through ContentResolver and access Bundle afterwards?

I have a custom method save() in my custom ContentProvider class MyContentProvider which I want to call through the ContentResolver. …

android android-contentprovider android-contentresolver
Get real path from Uri - DATA is deprecated in android Q

I'm successfully implementing a method for retrieving the real path of an image from gallery by the Uri returned from …

android android-contentresolver