Android 2.3 Gingerbread

Package android.provider

Provides convenience classes to access the content providers supplied by Android.

See:
          Description

Interface Summary
Applications.ApplicationColumns The columns in application cursors, like those returned by Applications.search(ContentResolver, String).
BaseColumns  
Calendar.AttendeesColumns  
Calendar.CalendarAlertsColumns  
Calendar.CalendarCacheColumns CalendarCache stores some settings for calendar including the current time zone for the app.
Calendar.CalendarMetaDataColumns A few Calendar globals are needed in the CalendarProvider for expanding the Instances table and these are all stored in the first (and only) row of the CalendarMetaData table.
Calendar.CalendarsColumns Columns from the Calendars table that other tables join into themselves.
Calendar.EventDaysColumns  
Calendar.EventsColumns Columns from the Events table that other tables join into themselves.
Calendar.ExtendedPropertiesColumns  
Calendar.RemindersColumns  
Contacts.ContactMethods.ProviderNames TODO find a place to put the canonical version of these.
Contacts.ContactMethodsColumns Deprecated. see ContactsContract
Contacts.ExtensionsColumns Deprecated. see ContactsContract
Contacts.GroupsColumns Deprecated. see ContactsContract
Contacts.OrganizationColumns Deprecated. see ContactsContract
Contacts.PeopleColumns Deprecated. see ContactsContract
Contacts.PhonesColumns Deprecated. see ContactsContract
Contacts.PhotosColumns Deprecated. see ContactsContract
Contacts.PresenceColumns Deprecated. see ContactsContract
Contacts.SettingsColumns Deprecated. see ContactsContract
ContactsContract.BaseSyncColumns Generic columns for use by sync adapters.
ContactsContract.CommonDataKinds.BaseTypes The base types that all "Typed" data kinds support.
ContactsContract.CommonDataKinds.CommonColumns Columns common across the specific types.
ContactsContract.ContactNameColumns Contact name and contact name metadata columns in the RawContacts table.
ContactsContract.ContactOptionsColumns Columns of ContactsContract.Contacts that track the user's preferences for, or interactions with, the contact.
ContactsContract.ContactsColumns Columns of ContactsContract.Contacts that refer to intrinsic properties of the contact, as opposed to the user-specified options found in ContactsContract.ContactOptionsColumns.
ContactsContract.ContactStatusColumns  
ContactsContract.DataColumns Columns in the Data table.
ContactsContract.DataColumnsWithJoins Combines all columns returned by ContactsContract.Data table queries.
ContactsContract.DisplayNameSources Types of data used to produce the display name for a contact.
ContactsContract.FullNameStyle Constants for various styles of combining given name, family name etc into a full name.
ContactsContract.GroupsColumns  
ContactsContract.PhoneLookupColumns  
ContactsContract.PhoneticNameStyle Constants for various styles of capturing the pronunciation of a person's name.
ContactsContract.PresenceColumns Additional data mixed in with ContactsContract.ContactStatusColumns to link back to specific BaseColumns._ID entries.
ContactsContract.RawContactsColumns  
ContactsContract.SettingsColumns  
ContactsContract.StatusColumns Social status update columns.
ContactsContract.SyncColumns Columns that appear when each row of a table belongs to a specific account, including sync information that an account may need.
ContactsContract.SyncStateColumns Deprecated. use SyncState instead
DrmStore.Audio  
DrmStore.Columns Fields for DRM database
DrmStore.Images  
MediaStore.Audio.AlbumColumns Columns representing an album
MediaStore.Audio.ArtistColumns Columns representing an artist
MediaStore.Audio.AudioColumns Columns for audio file that show up in multiple tables.
MediaStore.Audio.GenresColumns Columns representing an audio genre
MediaStore.Audio.PlaylistsColumns Columns representing a playlist
MediaStore.Images.ImageColumns  
MediaStore.MediaColumns Common fields for most MediaProvider tables
MediaStore.Video.VideoColumns  
OpenableColumns These are standard columns for openable URIs.
SyncConstValue Deprecated.  
SyncStateContract.Columns  
Telephony.BaseMmsColumns Base columns for tables that contain MMSs.
Telephony.CanonicalAddressesColumns Columns for the "canonical_addresses" table used by MMS and SMS."
Telephony.TextBasedSmsColumns Base columns for tables that contain text based SMSs.
Telephony.ThreadsColumns Columns for the "threads" table used by MMS and SMS.
 

Class Summary
AlarmClock The AlarmClock provider contains an Intent action and extras that can be used to start an Activity to set a new alarm in an alarm clock application.
Applications The Applications provider gives information about installed applications.
Browser  
Browser.BookmarkColumns  
Browser.SearchColumns  
Calendar The Calendar provider contains all calendar events.
Calendar.Attendees  
Calendar.CalendarAlerts  
Calendar.CalendarCache  
Calendar.CalendarMetaData  
Calendar.Calendars Contains a list of available calendars.
Calendar.EventDays  
Calendar.Events Contains one entry per calendar event.
Calendar.EventsEntity Contains one entry per calendar event.
Calendar.ExtendedProperties  
Calendar.Instances Contains one entry per calendar event instance.
Calendar.Reminders  
Calendar.SyncState A table provided for sync adapters to use for storing private sync state data.
CallLog The CallLog provider contains information about placed and received calls.
CallLog.Calls Contains the recent calls.
Contacts Deprecated. The APIs have been superseded by ContactsContract.
Contacts.ContactMethods Deprecated. see ContactsContract
Contacts.Extensions Deprecated. see ContactsContract
Contacts.GroupMembership Deprecated. see ContactsContract
Contacts.Groups Deprecated. see ContactsContract
Contacts.Intents Deprecated. see ContactsContract
Contacts.Intents.Insert Deprecated. see ContactsContract
Contacts.Intents.UI Deprecated. see ContactsContract
Contacts.Organizations Deprecated. see ContactsContract
Contacts.People Deprecated. see ContactsContract
Contacts.People.ContactMethods Deprecated. see ContactsContract
Contacts.People.Extensions Deprecated. see ContactsContract
Contacts.People.Phones Deprecated. see ContactsContract
Contacts.Phones Deprecated. see ContactsContract
Contacts.Photos Deprecated. see ContactsContract
Contacts.Presence Deprecated. see ContactsContract
Contacts.Settings Deprecated. see ContactsContract
ContactsContract The contract between the contacts provider and applications.
ContactsContract.AggregationExceptions Constants for the contact aggregation exceptions table, which contains aggregation rules overriding those used by automatic aggregation.
ContactsContract.CommonDataKinds Container for definitions of common data types stored in the ContactsContract.Data table.
ContactsContract.CommonDataKinds.Email A data kind representing an email address.
ContactsContract.CommonDataKinds.Event A data kind representing an event.
ContactsContract.CommonDataKinds.GroupMembership Group Membership.
ContactsContract.CommonDataKinds.Im A data kind representing an IM address
ContactsContract.CommonDataKinds.Nickname A data kind representing the contact's nickname.
ContactsContract.CommonDataKinds.Note Notes about the contact.
ContactsContract.CommonDataKinds.Organization A data kind representing an organization.
ContactsContract.CommonDataKinds.Phone A data kind representing a telephone number.
ContactsContract.CommonDataKinds.Photo A data kind representing an photo for the contact.
ContactsContract.CommonDataKinds.Relation A data kind representing a relation.
ContactsContract.CommonDataKinds.SipAddress A data kind representing a SIP address for the contact.
ContactsContract.CommonDataKinds.StructuredName A data kind representing the contact's proper name.
ContactsContract.CommonDataKinds.StructuredPostal A data kind representing a postal addresses.
ContactsContract.CommonDataKinds.Website A data kind representing a website related to the contact.
ContactsContract.ContactCounts URI parameter and cursor extras that return counts of rows grouped by the address book index, which is usually the first letter of the sort key.
ContactsContract.Contacts Constants for the contacts table, which contains a record per aggregate of raw contacts representing the same person.
ContactsContract.Contacts.AggregationSuggestions A read-only sub-directory of a single contact aggregate that contains all aggregation suggestions (other contacts).
ContactsContract.Contacts.Data A sub-directory of a single contact that contains all of the constituent raw contact ContactsContract.Data rows.
ContactsContract.Contacts.Photo A read-only sub-directory of a single contact that contains the contact's primary photo.
ContactsContract.Data Constants for the data table, which contains data points tied to a raw contact.
ContactsContract.Groups Constants for the groups table.
ContactsContract.Intents Contains helper classes used to create or manage Intents that involve contacts.
ContactsContract.Intents.Insert Convenience class that contains string constants used to create contact Intents.
ContactsContract.Intents.UI Intents related to the Contacts app UI.
ContactsContract.PhoneLookup A table that represents the result of looking up a phone number, for example for caller ID.
ContactsContract.Preferences  
ContactsContract.Presence Deprecated. This old name was never meant to be made public.
ContactsContract.ProviderStatus Private API for inquiring about the general status of the provider.
ContactsContract.QuickContact Helper methods to display QuickContact dialogs that allow users to pivot on a specific Contacts entry.
ContactsContract.RawContacts Constants for the raw contacts table, which contains one row of contact information for each person in each synced account.
ContactsContract.RawContacts.Data A sub-directory of a single raw contact that contains all of its ContactsContract.Data rows.
ContactsContract.RawContacts.Entity A sub-directory of a single raw contact that contains all of its ContactsContract.Data rows.
ContactsContract.RawContactsEntity Constants for the raw contacts entities table, which can be thought of as an outer join of the raw_contacts table with the data table.
ContactsContract.SearchSnippetColumns Additional columns returned by the Contacts#CONTENT_FILTER_URI providing the explanation of why the filter matched the contact.
ContactsContract.Settings Contacts-specific settings for various Account's.
ContactsContract.StatusUpdates A status update is linked to a ContactsContract.Data row and captures the user's latest status update via the corresponding source, e.g.
ContactsContract.SyncState A table provided for sync adapters to use for storing private sync state data.
Downloads The Download Manager
Downloads.Impl Implementation details Exposes constants used to interact with the download manager's content provider.
Downloads.Impl.RequestHeaders Constants related to HTTP request headers associated with each download.
DrmStore The DRM provider contains forward locked DRM content.
LiveFolders A LiveFolder is a special folder whose content is provided by a ContentProvider.
MediaStore The Media provider contains meta data for all available media on both internal and external storage devices.
MediaStore.Audio Container for all audio content.
MediaStore.Audio.Albums Contains artists for audio files
MediaStore.Audio.Artists Contains artists for audio files
MediaStore.Audio.Artists.Albums Sub-directory of each artist containing all albums on which a song by the artist appears.
MediaStore.Audio.Genres Contains all genres for audio files
MediaStore.Audio.Genres.Members Sub-directory of each genre containing all members.
MediaStore.Audio.Media  
MediaStore.Audio.Playlists Contains playlists for audio files
MediaStore.Audio.Playlists.Members Sub-directory of each playlist containing all members.
MediaStore.Images Contains meta data for all available images.
MediaStore.Images.Media  
MediaStore.Images.Thumbnails This class allows developers to query and get two kinds of thumbnails: MINI_KIND: 512 x 384 thumbnail MICRO_KIND: 96 x 96 thumbnail
MediaStore.Video  
MediaStore.Video.Media  
MediaStore.Video.Thumbnails This class allows developers to query and get two kinds of thumbnails: MINI_KIND: 512 x 384 thumbnail MICRO_KIND: 96 x 96 thumbnail
SearchRecentSuggestions This is a utility class providing access to SearchRecentSuggestionsProvider.
Settings The Settings provider contains global system-level device preferences.
Settings.Bookmarks User-defined bookmarks and shortcuts.
Settings.NameValueTable Common base for tables of name/value settings.
Settings.Secure Secure system settings, containing system preferences that applications can read but are not allowed to write.
Settings.System System settings, containing miscellaneous system preferences.
SocialContract The contract between the social provider and applications.
SocialContract.Activities  
SyncStateContract The ContentProvider contract for associating data with ana data array account.
SyncStateContract.Constants  
SyncStateContract.Helpers  
Telephony The Telephony provider contains data related to phone operation.
Telephony.Carriers  
Telephony.Intents  
Telephony.Mms Contains all MMS messages.
Telephony.Mms.Addr  
Telephony.Mms.Draft Contains all MMS messages in the MMS app's drafts box.
Telephony.Mms.Inbox Contains all MMS messages in the MMS app's inbox.
Telephony.Mms.Intents  
Telephony.Mms.Outbox Contains all MMS messages in the MMS app's outbox.
Telephony.Mms.Part  
Telephony.Mms.Rate  
Telephony.Mms.ScrapSpace  
Telephony.Mms.Sent Contains all MMS messages in the MMS app's sent box.
Telephony.MmsSms Contains all MMS and SMS messages.
Telephony.MmsSms.PendingMessages  
Telephony.MmsSms.WordsTable  
Telephony.Sms Contains all text based SMS messages.
Telephony.Sms.Conversations Contains all sent text-based SMS messages in the SMS app's.
Telephony.Sms.Draft Contains all sent text based SMS messages in the SMS app's.
Telephony.Sms.Inbox Contains all text based SMS messages in the SMS app's inbox.
Telephony.Sms.Intents Contains info about SMS related Intents that are broadcast.
Telephony.Sms.Outbox Contains all pending outgoing text based SMS messages.
Telephony.Sms.Sent Contains all sent text based SMS messages in the SMS app's.
Telephony.Threads Helper functions for the "threads" table used by MMS and SMS.
UserDictionary A provider of user defined words for input methods to use for predictive text input.
UserDictionary.Words Contains the user defined words.
 

Exception Summary
Settings.SettingNotFoundException  
 

Package android.provider Description

Provides convenience classes to access the content providers supplied by Android.

Android ships with a number of content providers that store common data such as contact informations, calendar information, and media files. These classes provide simplified methods of adding or retrieving data from these content providers. For information about how to use a content provider, see Content Providers.


Android 2.3 Gingerbread