I'll do the same here, but before going directly to the code, it's better to prepare our workspace.
We already created the starting structure of the application. Cordova built many folders for us with all the starting code. The main folder of the project is
www. You write your code inside that folder, because it's the container of our assets.
When you are ready to build the application to test inside the device, ask Cordova to build the application with the command:
This will create an application package for each platform you added to the project inside the folders
We already decided which frameworks we are going to use, so we can start to put each library inside the
Make a folder named
lib inside the
www folder, then download the following libraries inside it: