Example usage for android.app SearchManager SearchManager

List of usage examples for android.app SearchManager SearchManager

Introduction

In this page you can find the example usage for android.app SearchManager SearchManager.

Prototype

@UnsupportedAppUsage
     SearchManager(Context context, Handler handler) throws ServiceNotFoundException 

Source Link

Usage

From source file:android.app.Activity.java

private void ensureSearchManager() {
    if (mSearchManager != null) {
        return;//from ww w .java  2 s . c o m
    }

    mSearchManager = new SearchManager(this, null);
}