Phonegap/Cordova 3.0 has moved into a modular design starting with version 3.0. For example, to call the device.version API, you need to include the Device plug
device.version
For Android we just need to create the plugin (Java class extending CordovaPlugin) and then add the item into config.xml (res/xml/..) you are done.
assume Calendar as your plugin name Also make sure to add link to js file
Thanks