Set As Homepage On Android Browser
Is there a script for the Android Webkit browser thats make 开发者_如何学运维a site "homepage" Or in other words can I make a "Set as homepage" button
There does not appear to be a method to do that. It would be on android.provider.Browser, if anywhere. Sorry!
struggling with reading the homepage myself right now. Writing it will use the std database stuff, my book mark writer has something like this in it:
{final ContentValues bookmarkValues = new ContentValues(); bookmarkValues.put(Browser.BookmarkColumns.TITLE, pageTitle); bookmarkValues.put(Browser.BookmarkColumns.URL, currentUrl); bookmarkValues.put(Browser.BookmarkColumns.BOOKMARK, 1); @SuppressWarnings("unused") final Uri newBookmark = getContentResolver().insert(Browser.BOOKMARKS_URI, bookmarkValues);}
  So writing the home page will probably use some similar construct.
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论