The PhoneGap API provides us with the ability to record audio directly within our application, bypassing the native audio recording application.
We will use the
Media object to create a reference to an audio file into which we'll record the audio data.
scripttag block which will contain our custom code. This is shown in the following code block:
<!DOCTYPE HTML> <html> <head> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width;" ...