my first time experimenting with Apache Cordova 3.0.
downloaded lib, unziped cordova-android and cordova-js and created a project:
./create ~/Docume
I resolved by:
$ phonegap local plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-network-information.git
For me it was because I was calling checkConnection() inside $(function(){}). It should be called by
document.addEventListener("deviceready", function(){
checkConnection();
});