Developing Sound Recorder application
After generating the initial application code, it's time to understand what to do next.
Sound Recorder functionality
The following screenshot shows our Sound Recorder page:
![](https://static.packt-cdn.com/products/9781783554171/graphics/4171OS_02_03.jpg)
When the user clicks on the Record Sound button, they will be able to record their voices; they can stop recording their voices by clicking on the Stop Recording button. You can see this in the following screenshot:
![](https://static.packt-cdn.com/products/9781783554171/graphics/4171OS_02_04.jpg)
As shown in the following screenshot, when the user clicks on the Playback button, the recorded voice will be played back:
![](https://static.packt-cdn.com/products/9781783554171/graphics/4171OS_02_05.jpg)
Sound Recorder preparation
In order to implement this functionality using Apache Cordova, we need to add the following plugins using the indicated commands, which should be executed from the application directory:
media
: This plugin is used to record and play back sound files:> cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git
device
: This plugin is required to access the device information:> cordova plugin...