android.provider
Class Browser
java.lang.Object
android.provider.Browser
public class Browser
- extends Object
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOOKMARKS_URI
public static final Uri BOOKMARKS_URI
INITIAL_ZOOM_LEVEL
public static final String INITIAL_ZOOM_LEVEL
- See Also:
- Constant Field Values
EXTRA_APPLICATION_ID
public static final String EXTRA_APPLICATION_ID
- See Also:
- Constant Field Values
EXTRA_HEADERS
public static final String EXTRA_HEADERS
- See Also:
- Constant Field Values
HISTORY_PROJECTION
public static final String[] HISTORY_PROJECTION
HISTORY_PROJECTION_ID_INDEX
public static final int HISTORY_PROJECTION_ID_INDEX
- See Also:
- Constant Field Values
HISTORY_PROJECTION_URL_INDEX
public static final int HISTORY_PROJECTION_URL_INDEX
- See Also:
- Constant Field Values
HISTORY_PROJECTION_VISITS_INDEX
public static final int HISTORY_PROJECTION_VISITS_INDEX
- See Also:
- Constant Field Values
HISTORY_PROJECTION_DATE_INDEX
public static final int HISTORY_PROJECTION_DATE_INDEX
- See Also:
- Constant Field Values
HISTORY_PROJECTION_BOOKMARK_INDEX
public static final int HISTORY_PROJECTION_BOOKMARK_INDEX
- See Also:
- Constant Field Values
HISTORY_PROJECTION_TITLE_INDEX
public static final int HISTORY_PROJECTION_TITLE_INDEX
- See Also:
- Constant Field Values
HISTORY_PROJECTION_FAVICON_INDEX
public static final int HISTORY_PROJECTION_FAVICON_INDEX
- See Also:
- Constant Field Values
TRUNCATE_HISTORY_PROJECTION
public static final String[] TRUNCATE_HISTORY_PROJECTION
TRUNCATE_HISTORY_PROJECTION_ID_INDEX
public static final int TRUNCATE_HISTORY_PROJECTION_ID_INDEX
- See Also:
- Constant Field Values
TRUNCATE_N_OLDEST
public static final int TRUNCATE_N_OLDEST
- See Also:
- Constant Field Values
SEARCHES_URI
public static final Uri SEARCHES_URI
SEARCHES_PROJECTION
public static final String[] SEARCHES_PROJECTION
SEARCHES_PROJECTION_SEARCH_INDEX
public static final int SEARCHES_PROJECTION_SEARCH_INDEX
- See Also:
- Constant Field Values
SEARCHES_PROJECTION_DATE_INDEX
public static final int SEARCHES_PROJECTION_DATE_INDEX
- See Also:
- Constant Field Values
EXTRA_CREATE_NEW_TAB
public static final String EXTRA_CREATE_NEW_TAB
- See Also:
- Constant Field Values
Browser
public Browser()
saveBookmark
public static final void saveBookmark(Context c,
String title,
String url)
sendString
public static final void sendString(Context context,
String string)
getAllBookmarks
public static final Cursor getAllBookmarks(ContentResolver cr)
throws IllegalStateException
- Throws:
IllegalStateException
getAllVisitedUrls
public static final Cursor getAllVisitedUrls(ContentResolver cr)
throws IllegalStateException
- Throws:
IllegalStateException
updateVisitedHistory
public static final void updateVisitedHistory(ContentResolver cr,
String url,
boolean real)
truncateHistory
public static final void truncateHistory(ContentResolver cr)
canClearHistory
public static final boolean canClearHistory(ContentResolver cr)
clearHistory
public static final void clearHistory(ContentResolver cr)
deleteHistoryTimeFrame
public static final void deleteHistoryTimeFrame(ContentResolver cr,
long begin,
long end)
deleteFromHistory
public static final void deleteFromHistory(ContentResolver cr,
String url)
addSearchUrl
public static final void addSearchUrl(ContentResolver cr,
String search)
clearSearches
public static final void clearSearches(ContentResolver cr)
requestAllIcons
public static final void requestAllIcons(ContentResolver cr,
String where,
WebIconDatabase.IconListener listener)
Copyright © 2008-2012. All Rights Reserved.