1. Download our Official Android App: Forums for Android!

Apps access icon from bookmarks of stock browser

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

  1. Android question

    Thread Starter
    Rank:
    None
    Posts:
    0
    Joined:

    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...
     

    Advertisement

  2. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,293
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,293
    23,649
    2,138
    Male
    space alien ;)
    Indy
    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!
     

Share This Page

Loading...