An introduction to Cordova CLI
In order to create, develop, build, and test a Cordova application, you first need to use the Cordova CLI. Using this, you can create new Apache Cordova project(s), build them on mobile platforms such as iOS, Android, Windows Phone, and so on, and run them on real devices or within emulators. Note that in this chapter, we will focus on deploying our Sound Recorder application in Android devices only.
Tip
In the next chapter, we will learn how to deploy our Sound Recorder application in iOS and Windows Phone devices.
Installing Apache Cordova
Before installing Apache Cordova CLI, you need to make sure that you install the following software:
- Target platform SDK: For Android, you can download its SDK from http://developer.android.com/sdk/index.html (for other platforms, you need to download and install their corresponding SDKs)
- Node.js: This is accessible at http://nodejs.org and can be downloaded and installed from http://nodejs.org/download/
Tip
If you want to know...