1. Are you ready for the Galaxy S20? Here is everything we know so far!

access icon from bookmarks of stock browser

Discussion in 'Android Development' started by Android question, Mar 27, 2016.

  1. Android question

    Thread Starter

    Hi
    I am reading bookmarks from my stock browser but I cannot get the icon. I am using the Browser.java method from "The Android Open Source Project". It seems that the corresponding icons are not accessible in the same way, and not stored in the same tables. Does anyone know how to access them? If possible info of some detail.

    Many thanks.
    golpe

    Here the entries but some cannot be accessed...

    HISTORY_PROJECTION = new String[] {
    BookmarkColumns._ID, BookmarkColumns.URL, BookmarkColumns.VISITS,
    BookmarkColumns.DATE, BookmarkColumns.BOOKMARK, BookmarkColumns.TITLE,
    BookmarkColumns.FAVICON, BookmarkColumns.THUMBNAIL,
    BookmarkColumns.TOUCH_ICON, BookmarkColumns.USER_ENTERED };

    but FAVICON and some others are not available from same tables...
     


  2. scary alien

    scary alien not really so scary
    Moderator

    Welcome to our AndroidForums, golpe--I've moved your thread over here to our Application Development area in hopes folks here can help you out.

    Cheers!
     
Loading...

Share This Page

Loading...