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

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -