public class

ContactsSearchManager

extends Object
java.lang.Object
   ↳ com.android.contacts.ContactsSearchManager

Class Overview

A convenience class that helps launch contact search from within the app.

Summary

Constants
String ORIGINAL_ACTION_EXTRA_KEY An extra that provides context for search UI and defines the scope for the search queries.
String ORIGINAL_COMPONENT_EXTRA_KEY An extra that provides context for search UI and defines the scope for the search queries.
Public Constructors
ContactsSearchManager()
Public Methods
static void startSearch(Activity context, String initialQuery)
Starts the contact list activity in the search mode.
static void startSearchForResult(Activity context, String initialQuery, int requestCode)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ORIGINAL_ACTION_EXTRA_KEY

An extra that provides context for search UI and defines the scope for the search queries.

Constant Value: "originalAction"

public static final String ORIGINAL_COMPONENT_EXTRA_KEY

An extra that provides context for search UI and defines the scope for the search queries.

Constant Value: "originalComponent"

Public Constructors

public ContactsSearchManager ()

Public Methods

public static void startSearch (Activity context, String initialQuery)

Starts the contact list activity in the search mode.

public static void startSearchForResult (Activity context, String initialQuery, int requestCode)