Example usage for android.webkit WebIconDatabase open

List of usage examples for android.webkit WebIconDatabase open

Introduction

In this page you can find the example usage for android.webkit WebIconDatabase open.

Prototype

public abstract void open(String path);

Source Link

Document

Open a the icon database and store the icons in the given path.

Usage

From source file:org.zirco.ui.activities.MainActivity.java

/**
 * Initialize the Web icons database./*from w w  w.j a  v  a2  s. c o m*/
 */
private void initializeWebIconDatabase() {

    final WebIconDatabase db = WebIconDatabase.getInstance();
    db.open(getDir("icons", 0).getPath());
}