Since: API Level 1
package

android.content

Classes | Description

Contains classes for accessing and publishing data on the device.

more...

Interfaces

ComponentCallbacksThe set of callback APIs that are common to all application components (Activity, Service, ContentProvider, and Application). 
DialogInterface 
DialogInterface.OnCancelListenerInterface used to allow the creator of a dialog to run some code when the dialog is canceled. 
DialogInterface.OnClickListenerInterface used to allow the creator of a dialog to run some code when an item on the dialog is clicked.. 
DialogInterface.OnDismissListenerInterface used to allow the creator of a dialog to run some code when the dialog is dismissed. 
DialogInterface.OnKeyListenerInterface definition for a callback to be invoked when a key event is dispatched to this dialog. 
DialogInterface.OnMultiChoiceClickListenerInterface used to allow the creator of a dialog to run some code when an item in a multi-choice dialog is clicked. 
DialogInterface.OnShowListenerInterface used to allow the creator of a dialog to run some code when the dialog is shown. 
EntityIteratorA specialization of Iterator that allows iterating over a collection of Entity objects. 
IntentSender.OnFinishedCallback interface for discovering when a send operation has completed. 
ServiceConnectionInterface for monitoring the state of an application service. 
SharedPreferencesInterface for accessing and modifying preference data returned by getSharedPreferences(String, int)
SharedPreferences.EditorInterface used for modifying values in a SharedPreferences object. 
SharedPreferences.OnSharedPreferenceChangeListenerInterface definition for a callback to be invoked when a shared preference is changed. 
SyncStatusObserver 

Classes

AbstractThreadedSyncAdapterAn abstract implementation of a SyncAdapter that spawns a thread to invoke a sync operation. 
AsyncQueryHandlerA helper class to help make handling asynchronous ContentResolver queries easier. 
AsyncQueryHandler.WorkerArgs 
AsyncQueryHandler.WorkerHandler 
BroadcastReceiverBase class for code that will receive intents sent by sendBroadcast(). 
ComponentNameIdentifier for a specific application component (Activity, Service, BroadcastReceiver, or ContentProvider) that is available. 
ContentProviderContent providers are one of the primary building blocks of Android applications, providing content to applications. 
ContentProviderClientThe public interface object used to interact with a ContentProvider
ContentProviderOperation 
ContentProviderOperation.BuilderUsed to add parameters to a ContentProviderOperation
ContentProviderResultContains the result of the application of a ContentProviderOperation
ContentQueryMapCaches the contents of a cursor into a Map of String->ContentValues and optionally keeps the cache fresh by registering for updates on the content backing the cursor. 
ContentResolverThis class provides applications access to the content model. 
ContentUrisUtility methods useful for working with content Uris, those with a "content" scheme. 
ContentValuesThis class is used to store a set of values that the ContentResolver can process. 
ContextInterface to global information about an application environment. 
ContextWrapperProxying implementation of Context that simply delegates all of its calls to another Context. 
EntityA representation of a item using ContentValues. 
Entity.NamedContentValues 
IntentAn intent is an abstract description of an operation to be performed. 
Intent.FilterComparisonWrapper class holding an Intent and implementing comparisons on it for the purpose of filtering. 
Intent.ShortcutIconResourceRepresents a shortcut/live folder icon resource. 
IntentFilterStructured description of Intent values to be matched. 
IntentFilter.AuthorityEntryThis is an entry for a single authority in the Iterator returned by authoritiesIterator()
IntentSenderA description of an Intent and target action to perform with it. 
MutableContextWrapperSpecial version of ContextWrapper that allows the base context to be modified after it is initially set. 
PeriodicSyncValue type that contains information about a periodic sync. 
SearchRecentSuggestionsProviderThis superclass can be used to create a simple search suggestions provider for your application. 
SyncAdapterTypeValue type that represents a SyncAdapterType. 
SyncContext 
SyncInfoInformation about the sync operation that is currently underway. 
SyncResultThis class is used to communicate the results of a sync operation to the SyncManager. 
SyncStatsUsed to record various statistics about the result of a sync operation. 
UriMatcherUtility class to aid in matching URIs in content providers. 

Exceptions

ActivityNotFoundExceptionThis exception is thrown when a call to startActivity(Intent) or one of its variants fails because an Activity can not be found to execute the given Intent. 
IntentFilter.MalformedMimeTypeExceptionThis exception is thrown when a given MIME type does not have a valid syntax. 
IntentSender.SendIntentExceptionException thrown when trying to send through a PendingIntent that has been canceled or is otherwise no longer able to execute the request. 
OperationApplicationExceptionThrown when an application of a ContentProviderOperation fails due the specified constraints. 
ReceiverCallNotAllowedExceptionThis exception is thrown from registerReceiver(BroadcastReceiver, IntentFilter) and bindService(Intent, ServiceConnection, int) when these methods are being used from an BroadcastReceiver component.