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 in which we'll record the audio data:
audioapiby running this line:
phonegap create audioapi com.myapp.audioapi audioapi
cordova platform add ios cordova platform add android
media-captureplugins by running this line:
cordova plugin add org.apache.cordova.media
www/index.html. Let's clean up the unnecessary elements. We will use jQuery Mobile, so we have ...