I’ve created a code-lab on how to integrate this into your code-base ( 7 mins tops)
Creating your own custom Content providers involves a lot of boilerplate. Managing updates and adding a new column can also be a pain. Its through this frustration that I created this simple sql provider library to help with dealing with creating your own sql based content providers fast and simple. I’ve created a code-lab on how to integrate this into your code-base ( 7 mins tops). You can also checkout the sample To-do list app to see how its integrated in that app.
All you need to do is annotate your classes and it will generate associated content provider class at compile time, with some utility methods to deal with insertion and querying.