Top "Android-contentresolver" questions

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

Android - Find a contact by display name

I'm trying to find a contact by display name. The goal is to open this contact and add more data …

android android-contentresolver
How to address multiple content providers?

I created two content providers that work on two different tables of the same SQLite database. They share a single …

android uri android-contentprovider android-contentresolver
What is cursor.setNotificationUri() used for?

I did research on how to use ContentProviders and Loaders from this tutorial How I see it: We have an …

android database cursor android-contentprovider android-contentresolver
How to access sms time which I have received in inbox?

I am able to read message from the inbox from this:-- Uri uriSMSURI = Uri.parse("content://sms/inbox"); Cursor …

android date time sms android-contentresolver
registerContentObserver() on raw SQLite Cursor

All of the examples I've seen of using registerContentObserver() do so through a ContentProvider interface. But Cursor has a registerContentObserver() …

android database sqlite android-contentresolver
ContentProvider insert() always runs on UI thread?

I have an app that needs to pull data from a server and insert it into an SQLite database in …

java android multithreading user-interface android-contentresolver
When ContentResolver.notifyChange() is called for a given URI, are ContentObservers observing descendent URIs of this URI notified?

A hopefully straightforward question: When ContentResolver.notifyChange() is called for a given URI, are ContentObservers observing descendent URIs of this …

android uri android-contentprovider android-contentresolver contentobserver
How can make a FileProvider available to other applications?

Is it possible to have a FileProvider available to other applications ? manifest.xml ... <provider android:name="android.support.v4.…

android provider android-contentresolver android-fileprovider
How to Get File Path from URI in Android Oreo (8.1) or above

Expected Behavior When I am selecting the file which is stored inside "Download", it should able to retrieves its file …

android uri android-contentresolver android-fileprovider android-8.1-oreo