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