Contentobserver Works Only For Insert And Delete But Not For An Update
I am developing an app that notify the user when any SMS marked as read even if the app isn't running I simply created a contentobserver and I registered it in a service the probl
Solution 1:
In your update method, check if the number of entries updated is more than 0. If it is, do getContext().getContentResolver().notifyChange(uri, null); before you return the number of entries updated.
Post a Comment for "Contentobserver Works Only For Insert And Delete But Not For An Update"