Search code examples
androidbrowserbookmarkscontentobserver

observe bookmark added/updated/removed in android browser


I am using Content-Observer to observe the Android-Boroswers browser.db which stores information about both history & bookmarks. My requirement is that i want to get notified only if a BOOKMARK is added/updated/removed & update my bookmarks list. But my listener gets fired even if a new page loads into the browser ( because this comes under history). Any way to resolve this ? or to observe changes for a single column. I dont want to unnecesary update my list on every event fired. Thanx in advance.


Solution

  • Any way to resolve this ?

    Add to your WHERE clause a check to see if the BOOKMARK column is 1.