English | Site Directory

Android - An Open Handset Alliance Project

package

android.content

Classes | Description

Contains classes for accessing and publishing data on the device. more...

Interfaces

DialogInterface  
DialogInterface.OnCancelListener Interface used to allow the creator of a dialog to run some code when the dialog is canceled. 
DialogInterface.OnClickListener Interface used to allow the creator of a dialog to run some code when the dialog is canceled. 
IContentProvider The ipc interface to talk to a content provider. 
ISyncObserver  
ServiceConnection Interface for monitoring the state of an application service. 
SharedPreferences Interface for accessing and modifying preference data returned by getSharedPreferences(String, int)
SharedPreferences.Editor Interface used for modifying values in a SharedPreferences object. 
SyncUIContext Class with callback methods for SyncAdapters and ContentProviders that are called in response to the calls on SyncContext. 

Classes

AbstractTableMerger  
AssetManager Provides access to an application's raw asset files; see Resources for the way most applications will want to retrieve their resource data. 
AssetManager.AssetInputStream  
AsyncQueryHandler A convience class to help make handling asynchronous ContentResolver queries easier. 
ComponentName Identifier for a specific application component (Activity, Service, IntentReceiver, or ContentProvider) that is available. 
ContentProvider Content providers are one of the primary building blocks of Android applications, providing content to applications. 
ContentQueryMap Caches the contents of a cursor into a Map of String->ContentValues and optionally keeps the cache fresh by registering for updates on the cursor. 
ContentResolver This class provides applications access to the content model. 
ContentUris Utility methods useful for working with content Uris, those with a "content" scheme. 
ContentValues This class is used to store a set of values that the ContentResolver can process. 
Context Interface to global information about an application environment. 
ContextWrapper Proxying implementation of Context that simply delegates all of its calls to another Context. 
DatabaseContentProvider A specialization of the ContentProvider that centralizes functionality used by ContentProviders that use the database, including controlling access to the database via the use of database transactions and java locks. 
DatabaseContentProvider.DcpCursor A specialization of SQLiteCursor that protects commitUpdates with a lock. 
Intent An intent is an abstract description of an operation to be performed. 
Intent.FilterComparison Wrapper class holding an Intent and implementing comparisons on it for the purpose of filtering. 
IntentFilter Structured description of Intent values to be matched. 
IntentFilter.AuthorityEntry This is an entry for a single authority in the Iterator returned by authoritiesIterator()
IntentFilter.PathEntry This is an entry for a single path in the Iterator returned by pathsIterator()
IntentReceiver Base class for code that will receive intents sent by broadcastIntent(). 
ISyncObserver.Stub Local-side IPC implementation stub class. 
MergeResult The result of the merge() call. 
MergeStats  
Resources Class for accessing an application's resources. 
Resources.Configuration This class describes all device configuration information that can impact the resources the application retrieves. 
Resources.StyledAttributes Container for an array of values that were retrieved with obtainStyledAttributes(AttributeSet, int[], int, int) or obtainAttributes(AttributeSet, int[])
Resources.Theme This class holds the current attribute values for a particular theme. 
SyncAdapter  
SyncAdapter.SyncData Used by getServerDiffs() to track the sync progress for a given sync adapter. 
SyncContext Class that contains methods for SyncAdapters and ContentProviders to interact with the Sync UI. 
SyncContextTest  
SyncContextTest.IPC  
SyncContextTest.IPC.T  
SyncObserver An observer of sync progress. 
SyncStateContentProviderHelper Extends the schema of a ContentProvider to include the _sync_state table and implements query/insert/update/delete to access that table using the authority "syncstate". 
TrivialSyncData An implementation of SyncData that contains nothing but is suitable for use by implementations of SyncAdapter that don't need their own specialization of SyncData. 
UriMatcher Utility class to aid in matching URIs in content providers. 

Exceptions

ActivityNotFoundException This 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.MalformedMimeTypeException This exception is thrown when a given MIME type does not have a valid syntax. 
ReceiverCallNotAllowedException This exception is thrown from registerReceiver(IntentReceiver, IntentFilter) and bindService(Intent, ServiceConnection, int) when these methods are being used from an IntentReceiver component. 
Resources.NotFoundException This exception is thrown by the resource APIs when a requested resource can not be found. 
Build m5-rc15f - 23 Apr 2008 12:29