This repo is part of a blog post I wrote: http://blog.bluehathacking.com/blog/2014/09/04/linking-a-cordova-android-application-to-a-database/