Top "Android-contentprovider" questions

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

SecurityException: Permission Denial: opening provider

I have the following problem. We have created a Game Center Application that provides a framework to create ad hoc …

android permissions android-contentprovider android-4.3-jelly-bean
How does CursorLoader with LoaderManager know to send the cursor to a CursorAdapter?

I was going through some of my code and I realized I don't actually know how a CursorLoader and LoaderManager …

android android-contentprovider android-loadermanager android-cursorloader
Insertion of thousands of contact entries using applyBatch is slow

I'm developing an application where I need to insert lots of Contact entries. At the current time approx 600 contacts with …

android android-contentprovider android-contentresolver
IllegalArgumentException: Unknown URL content:// CONTENT

IllegalArgumentException: Unknown URL content:// ^ Having a nightmare with the above. I've checked my variables and paths but can't see what …

java android android-activity android-contentprovider android-database
Multiple Apps use same content provider

I am developing a set of apps that are distinguished only in certain brandings (think different sports teams); however, I …

android android-contentprovider
How can I refresh the cursor from a CursorLoader?

So I have my MainDisplayActivity which implements both Activity and LoaderManager.LoaderCallbacks<Cursor>. Here I have A ListView, …

android debugging android-contentprovider android-loadermanager android-cursorloader
Android: SQLite transactions when using ContentResolver

The goal: refresh database from XML data The process: Start transaction Delete all existing rows from the tables Per each …

android sqlite transactions android-contentprovider android-contentresolver
How to observe contentprovider change? android

I'v created a Contentprovide and implements it's update() method like this: @Override public int update(Uri uri, ContentValues values, String …

android android-contentprovider android-appwidget notify
using ContentProviderClient vs ContentResolver to access content provider

The documentation on Android content providers describes using a ContentResolver, obtained from getContentResolver(), to access the content. However there is …

android android-contentprovider android-contentresolver
android content provider AUTHORITIES

What is the reason for content provider authorities? How/why do I want to use them other than I HAVE …

android android-contentprovider authority