Before I get into ContentProviders, I just want to mention how difficult it is to blog consistently. I mean, it’s not too bad. You just have to commit to a schedule and stick with it. You just have to be motivated to write instead of work on your app that is probably way more interesting to work on. It’s not a complaint though, more of a rant. There’s just not much time available to work on side projects when you have a full time job and family to spend time with, assuming you don’t work for Apple.

ContentProviders

ContentProviders manage access to data, and provide a layer of abstraction between raw data and the application (widget, other apps, your own app, etc.). At the expense of a little more complexity, it adds the value of centralized data security (instead of making outside applications sanitize data, it can all be done in the provider). You can also change the data backend without making any changes to the provider API, and so no changes are necessary in any applications accessing the provider. For example you could change from using a flat file data store to using a SQLite database.