I made an app that captures audio by the native recorder of the cell phone, now I needed to get these stockings, how can I get the phone media?
I made the following controller to capture
.controller('CapturaAudio', function ($scope, $cordovaCapture) {
$scope.captureAudio = function () {
var options = {
limit: 3,
duration: 10
};
$cordovaCapture.captureAudio(options).then(function (audioData) {
// Success! Audio data is here
}, function (err) {
// An error occurred. Show a message to the user
});
}