Top "Android-contentprovider" questions

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

Trying to takePersistableUriPermission() fails for custom DocumentsProvider via ACTION_OPEN_DOCUMENT

I am trying to write a custom DocumentsProvider that allows other apps to take persistable permissions to the Uris it …

android permissions android-contentprovider storage-access-framework
How to implement a ContentObserver in a fragment using CursorAdapter and LoaderCallbacks?

I am using a CursorAdapter in a ListFragment to load and display a list of comments. public class CommentsFragment extends …

android android-contentprovider android-cursoradapter android-cursorloader contentobserver
Is it possible to access resources in another APK without using content providers?

I thought that it is impossible to access resources contained in other APK unless content providers are used. However, I …

android android-contentprovider
Android - Having Provider authority in the app project

An android library project contains a few providers whose authority is defined like the following in a contract class : public …

java android android-contentprovider android-library authority
Bulk inserting using an array of ContentValues

im trying to do a batch insert of about 700 floats. The method i'm using is below and as well as …

android database android-contentprovider batch-insert
Cursor.getType() for API Level <11

I'm querying the CallLog content provider and need to detect the column types. In Honeycomb and newer (API Level 11+) you …

android android-contentprovider android-cursor
Group By in ContentResolver in Ice Cream Sandwich

I am making a query on the Android Contacts ContentProvider. I need a Group By clause. In Gingerbread and Honeycomb, …

android group-by android-contentprovider android-contacts
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
How to handle RESTful update of remote server with SyncAdapter

I've watched the Google I/O REST talk and read the slides: http://www.google.com/events/io/2010/sessions/developing-RESTful-android-apps.…

android rest sync android-contentprovider android-syncadapter
How do I catch content provider initialize?

As we know content provider loads on application run. But I want to make some operations before content provider will …

android android-contentprovider