In my application I have a sqlite database.The columns in this database are :- id, data,date-added, mydescription.
And android content provider Media.Image.External has following columns in its database:- _id , _data , _title , _date-added ,....and so on.
I want that whenever application is launched, my database gets synced with content provider database(only id, data, and date-added columns). So If android content provider database has an addition of row, my database also adds that row and if any row is deleted, then my database also deletes that row.
So how to achieve this thing.
Thanks