In simple terms, Cordova is the piece of software that stitches the web application and the native application together. The Apache Cordova website states that:
Apache Cordova does not just stitch the web app with the native app--but it also provides a set of APIs written in JavaScript to interact with the native features of the device. Yes, we can use JavaScript to access our camera, take a picture, and send it in an e-mail. Sounds exciting, right?
To get a better understanding of what is happening, let's take a look at the following screenshot:
As we can see, we have a WebView where the HTML/CSS/JS code gets executed. This code can be a simple standalone piece of user interface; at best we are making an AJAX request to get some data from a remote server. Or, this code can do much...