java - Cannot query for chrome's bookmarks when it is close -
in android app, user supposes search bookmarks in chrome browser. found once turn off browser, query "null" cursor.(works fine when chrome running in background) here code:(query bookmarks)
resultcursor = context.getcontentresolver().query(browser.bookmarks_uri, new string[] {browser.bookmarkcolumns.title,browser.bookmarkcolumns.url}, null, null, sortorder);
there no permission warning in log.
i tried replace content provider uri "content://com.android.chrome.browser/bookmarks"
, same problem. wonder if there wrong in query code, or bug @ chrome side. thanks.
it should chrome issue. reference: code.google.com/p/chromium/issues/detail?id=497538
Comments
Post a Comment