Top "Android-contentprovider" questions

Content providers are one of the primary building blocks of Android applications, providing content to applications.

I am getting IllegalArgumentException during picking a document file from download manager ,which is happening only for oreo

Here I am attaching the logs : Caused by: java.lang.IllegalArgumentException: Unknown URI: content://downloads/public_downloads/1587 at android.database.…

android uri android-contentprovider android-8.0-oreo android-download-manager
Android image files deleted from com.android.providers.media/albumthumbs on reboot

My app is using images from folder /storage/emulated/0/Android/data/com.android.providers.media/albumthumbs. When I change language …

android android-contentprovider android-mediascanner
Download image from new Google+ (plus) Photos Application

Recently Google added the Photos app for Google+ (plus) and it shows up when you launch an Intent to choose …

android google-plus android-contentprovider google-photos
Google IO Rest design pattern, finished ContentProvider and stuck on getting the data from the network

After watching the very known video on this topic I decided to go with design pattern B. Using a contentprovider …

android rest android-service android-contentprovider googleio
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
ContentResolver.openFileDescriptor() does not call ContentProvider.openFIle

I implemented a ContentProvider by overriding openFile(...) method. Then I tested it by using ContentResolver.openFileDescriptor(...) method. As specified in …

android android-contentprovider storage-access-framework
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
Problems with Android's UriMatcher

In an answer to a previous question of mine someone indicated that there is some flakiness (for lack of a …

android uri android-contentprovider
Android ContentProvider getType() called when and why

I put a log in getType() method it never gets printed. I am using the Notepad sample code. Please explain …

java android android-contentprovider
What is the purpose of an Android projection map in a content provider?

I am looking at the Android notepad application sample code in <path_to_SDK>/samples/android-16/NotePad/src/…

android android-contentprovider android-sqlite