java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ com.android.contacts.ViewContactActivity

Class Overview

Displays the details of a specific contact.

Summary

Constants
int MENU_ITEM_CALL
int MENU_ITEM_MAKE_DEFAULT
[Expand]
Inherited Constants
From class android.app.Activity
From class android.content.Context
From interface android.content.ComponentCallbacks2
Fields
protected boolean mAllRestricted
protected ContactHeaderWidget mContactHeaderWidget
protected LayoutInflater mInflater
protected Uri mLookupUri
protected Uri mPrimaryPhoneUri
protected int mReadOnlySourcesCnt
protected ArrayList<Long> mWritableRawContactIds
protected int mWritableSourcesCnt
[Expand]
Inherited Fields
From class android.app.Activity
Public Constructors
ViewContactActivity()
Public Methods
void onClick(DialogInterface dialog, int which)
boolean onContextItemSelected(MenuItem item)
void onCreateContextMenu(ContextMenu menu, View view, ContextMenu.ContextMenuInfo menuInfo)
boolean onCreateOptionsMenu(Menu menu)
void onItemClick(AdapterView parent, View v, int position, long id)
boolean onKeyDown(int keyCode, KeyEvent event)
boolean onOptionsItemSelected(MenuItem item)
boolean onPrepareOptionsMenu(Menu menu)
void onQueryComplete(int token, Object cookie, Cursor cursor)
void showJoinAggregateActivity()
Shows a list of aggregates that can be joined into the currently viewed aggregate.
void startSearch(String initialQuery, boolean selectInitialQuery, Bundle appSearchData, boolean globalSearch)
Protected Methods
void onActivityResult(int requestCode, int resultCode, Intent intent)
void onCreate(Bundle icicle)
Dialog onCreateDialog(int id)
void onDestroy()
void onPause()
void onResume()
void setAggregationException(long rawContactId, int exceptionType)
Given a contact ID sets an aggregation exception to either join the contact with the current aggregate or split off.
[Expand]
Inherited Methods
From class android.app.Activity
From class android.view.ContextThemeWrapper
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.content.DialogInterface.OnClickListener
From interface android.view.KeyEvent.Callback
From interface android.view.LayoutInflater.Factory
From interface android.view.LayoutInflater.Factory2
From interface android.view.View.OnCreateContextMenuListener
From interface android.view.Window.Callback
From interface android.widget.AdapterView.OnItemClickListener

Constants

public static final int MENU_ITEM_CALL

Constant Value: 4 (0x00000004)

public static final int MENU_ITEM_MAKE_DEFAULT

Constant Value: 3 (0x00000003)

Fields

protected boolean mAllRestricted

protected ContactHeaderWidget mContactHeaderWidget

protected LayoutInflater mInflater

protected Uri mLookupUri

protected Uri mPrimaryPhoneUri

protected int mReadOnlySourcesCnt

protected ArrayList<Long> mWritableRawContactIds

protected int mWritableSourcesCnt

Public Constructors

public ViewContactActivity ()

Public Methods

public void onClick (DialogInterface dialog, int which)

public boolean onContextItemSelected (MenuItem item)

public void onCreateContextMenu (ContextMenu menu, View view, ContextMenu.ContextMenuInfo menuInfo)

public boolean onCreateOptionsMenu (Menu menu)

public void onItemClick (AdapterView parent, View v, int position, long id)

public boolean onKeyDown (int keyCode, KeyEvent event)

public boolean onOptionsItemSelected (MenuItem item)

public boolean onPrepareOptionsMenu (Menu menu)

public void onQueryComplete (int token, Object cookie, Cursor cursor)

public void showJoinAggregateActivity ()

Shows a list of aggregates that can be joined into the currently viewed aggregate.

public void startSearch (String initialQuery, boolean selectInitialQuery, Bundle appSearchData, boolean globalSearch)

Protected Methods

protected void onActivityResult (int requestCode, int resultCode, Intent intent)

protected void onCreate (Bundle icicle)

protected Dialog onCreateDialog (int id)

protected void onDestroy ()

protected void onPause ()

protected void onResume ()

protected void setAggregationException (long rawContactId, int exceptionType)

Given a contact ID sets an aggregation exception to either join the contact with the current aggregate or split off.