Android
android.provider
public class

android.provider.Contacts

java.lang.Object
android.provider.Contacts

The Contacts provider stores all information about contacts.

Nested Classes
Contacts.ContactMethods This table stores all non-phone contact methods and a reference to the person that the contact method belongs to. 
Contacts.ContactMethodsColumns Columns from the ContactMethods table that other tables join into themseleves. 
Contacts.Extensions The extensions for a person  
Contacts.ExtensionsColumns  
Contacts.GroupMembership  
Contacts.Groups This table contains the groups for an account. 
Contacts.GroupsColumns Columns from the groups table. 
Contacts.Intents Contains helper classes used to create or manage Intents that involve contacts. 
Contacts.OrganizationColumns Columns from the Organizations table that other columns join into themselves. 
Contacts.Organizations A sub directory of a single person that contains all of their Phones. 
Contacts.People This table contains people. 
Contacts.PeopleColumns Columns from the People table that other tables join into themselves. 
Contacts.Phones This table stores phone numbers and a reference to the person that the contact method belongs to. 
Contacts.PhonesColumns Columns from the Phones table that other columns join into themselves. 
Contacts.Photos The photos over all of the people  
Contacts.PhotosColumns Columns from the Photos table that other columns join into themselves. 
Contacts.PresenceColumns The IM presence columns with some contacts specific columns mixed in. 
Contacts.Settings The settings over all of the people  
Contacts.SettingsColumns Columns from the Settings table that other columns join into themselves. 

Summary

Constants

      Value  
String  AUTHORITY    "contacts" 
Uri  CONTENT_URI  The content:// style URL for this provider      
int  KIND_EMAIL  Signifies an email address row that is stored in the ContactMethods table   0x00000001 
int  KIND_IM  Signifies an IM address row that is stored in the ContactMethods table   0x00000003 
int  KIND_ORGANIZATION  Signifies an Organization row that is stored in the Organizations table   0x00000004 
int  KIND_PHONE  Signifies an Phone row that is stored in the Phones table   0x00000005 
int  KIND_POSTAL  Signifies a postal address row that is stored in the ContactMethods table   0x00000002 
Methods inherited from class java.lang.Object

Details

Constants

public static final String AUTHORITY

Constant Value: "contacts"

public static final Uri CONTENT_URI

The content:// style URL for this provider

public static final int KIND_EMAIL

Signifies an email address row that is stored in the ContactMethods table
Constant Value: 1 (0x00000001)

public static final int KIND_IM

Signifies an IM address row that is stored in the ContactMethods table
Constant Value: 3 (0x00000003)

public static final int KIND_ORGANIZATION

Signifies an Organization row that is stored in the Organizations table
Constant Value: 4 (0x00000004)

public static final int KIND_PHONE

Signifies an Phone row that is stored in the Phones table
Constant Value: 5 (0x00000005)

public static final int KIND_POSTAL

Signifies a postal address row that is stored in the ContactMethods table
Constant Value: 2 (0x00000002)
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48