public class Browser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Browser.BookmarkColumns |
static class |
Browser.SearchColumns |
| Modifier and Type | Field and Description |
|---|---|
static Uri |
BOOKMARKS_URI |
static String |
EXTRA_APPLICATION_ID |
static String |
EXTRA_CREATE_NEW_TAB |
static String |
EXTRA_HEADERS |
static String[] |
HISTORY_PROJECTION |
static int |
HISTORY_PROJECTION_BOOKMARK_INDEX |
static int |
HISTORY_PROJECTION_DATE_INDEX |
static int |
HISTORY_PROJECTION_FAVICON_INDEX |
static int |
HISTORY_PROJECTION_ID_INDEX |
static int |
HISTORY_PROJECTION_TITLE_INDEX |
static int |
HISTORY_PROJECTION_URL_INDEX |
static int |
HISTORY_PROJECTION_VISITS_INDEX |
static String |
INITIAL_ZOOM_LEVEL |
static String[] |
SEARCHES_PROJECTION |
static int |
SEARCHES_PROJECTION_DATE_INDEX |
static int |
SEARCHES_PROJECTION_SEARCH_INDEX |
static Uri |
SEARCHES_URI |
static String[] |
TRUNCATE_HISTORY_PROJECTION |
static int |
TRUNCATE_HISTORY_PROJECTION_ID_INDEX |
static int |
TRUNCATE_N_OLDEST |
| Constructor and Description |
|---|
Browser() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addSearchUrl(ContentResolver cr,
String search) |
static boolean |
canClearHistory(ContentResolver cr) |
static void |
clearHistory(ContentResolver cr) |
static void |
clearSearches(ContentResolver cr) |
static void |
deleteFromHistory(ContentResolver cr,
String url) |
static void |
deleteHistoryTimeFrame(ContentResolver cr,
long begin,
long end) |
static Cursor |
getAllBookmarks(ContentResolver cr) |
static Cursor |
getAllVisitedUrls(ContentResolver cr) |
static void |
requestAllIcons(ContentResolver cr,
String where,
WebIconDatabase.IconListener listener) |
static void |
saveBookmark(Context c,
String title,
String url) |
static void |
sendString(Context context,
String string) |
static void |
truncateHistory(ContentResolver cr) |
static void |
updateVisitedHistory(ContentResolver cr,
String url,
boolean real) |
public static final Uri BOOKMARKS_URI
public static final String INITIAL_ZOOM_LEVEL
public static final String EXTRA_APPLICATION_ID
public static final String EXTRA_HEADERS
public static final String[] HISTORY_PROJECTION
public static final int HISTORY_PROJECTION_ID_INDEX
public static final int HISTORY_PROJECTION_URL_INDEX
public static final int HISTORY_PROJECTION_VISITS_INDEX
public static final int HISTORY_PROJECTION_DATE_INDEX
public static final int HISTORY_PROJECTION_BOOKMARK_INDEX
public static final int HISTORY_PROJECTION_TITLE_INDEX
public static final int HISTORY_PROJECTION_FAVICON_INDEX
public static final String[] TRUNCATE_HISTORY_PROJECTION
public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX
public static final int TRUNCATE_N_OLDEST
public static final Uri SEARCHES_URI
public static final String[] SEARCHES_PROJECTION
public static final int SEARCHES_PROJECTION_SEARCH_INDEX
public static final int SEARCHES_PROJECTION_DATE_INDEX
public static final String EXTRA_CREATE_NEW_TAB
public static final Cursor getAllBookmarks(ContentResolver cr) throws IllegalStateException
IllegalStateExceptionpublic static final Cursor getAllVisitedUrls(ContentResolver cr) throws IllegalStateException
IllegalStateExceptionpublic static final void updateVisitedHistory(ContentResolver cr, String url, boolean real)
public static final void truncateHistory(ContentResolver cr)
public static final boolean canClearHistory(ContentResolver cr)
public static final void clearHistory(ContentResolver cr)
public static final void deleteHistoryTimeFrame(ContentResolver cr, long begin, long end)
public static final void deleteFromHistory(ContentResolver cr, String url)
public static final void addSearchUrl(ContentResolver cr, String search)
public static final void clearSearches(ContentResolver cr)
public static final void requestAllIcons(ContentResolver cr, String where, WebIconDatabase.IconListener listener)
Copyright © 2008-2013. All Rights Reserved.