Fermé

Cordova capture audio and upload to php mysql

Hello,

I'm looking for skilled Cordova Developer, who can use cordova media capture plugin to develop audio recording and upload to php mysql.

<div>

<button onClick="captureAudio();">Capture Audio</button> <br>

</div>

<script>

function captureSuccess(mediaFiles) {

var i, len;

for (i = 0, len = [login to view URL]; i < len; i += 1) {

uploadFile(mediaFiles[i]);

}

}

// Called if something bad happens.

//

function captureError(error) {

var msg = 'An error occurred during capture: ' + [login to view URL];

[login to view URL](msg, null, 'Uh oh!');

}

// A button will call this function

//

function captureAudio() {

// Launch device audio recording application,

// allowing user to capture up to 2 audio clips

[login to view URL](captureSuccess, captureError, {limit: 2});

}

// Upload files to server

function uploadFile(mediaFile) {

var options = new FileUploadOptions();

options.fileKey="file";

options.fileName=$('#audioname').val();

options.mimeType="audio/wav";

[login to view URL] = false;

var ft = new FileTransfer(),

path = [login to view URL],

name = [login to view URL];

[login to view URL](path,

"[login to view URL]",

function(result) {

alert("Sucess");

[login to view URL]('Upload success: ' + [login to view URL]);

[login to view URL]([login to view URL] + ' bytes sent');

},

function(error) {

alert("Failed");

[login to view URL]('Error uploading file ' + path + ': ' + [login to view URL]);

},

{ fileName: name });

}

</script>

<script type="text/javascript" src="[login to view URL]"></script>

<script type="text/javascript" src="js/[login to view URL]"></script>

<script type="text/javascript">

[login to view URL]();

</script>

Compétences : Android, iPhone, Javascript, Mobile App Development, PHP

en voir plus : ionic 3 multiple file upload, cordova file transfer plugin not working, phonegap camera upload php, cordova take photo and upload to server, ionic 3 upload video, cordova-plugin-file-transfer, phonegap capture image and upload to server, upload file ionic 2, video upload php mysql, php mysql image files, file upload php mysql database, php mysql check files filename folder, multi file upload php mysql, easy file upload php mysql, upload php mysql database, csv upload php mysql, web design php mysql image files, file upload php mysql paypal, file upload php ajax large files, upload audio code php mysql

Concernant l'employeur :
( 0 commentaires ) HOWRAH, India

Nº du projet : #19405515

3 freelance font une offre moyenne de ₹7185 pour ce travail

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% INR en 3 jours
(5 Commentaires)
2.5
ankitagrawal949

Hi, I am an experienced full stack developer. I have developed applications with the help of Cordova and Ionic. I have also worked on media capture API's of Cordova for speech recognition in a chatbot. Please message Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% INR en 3 jours
(1 Évaluation)
1.0
vdovgun

Hi, I am an experienced web site developer who has developed several websites using php/laravel framework. I have deep understanding of Laravel components like Route, Controller, Request, Middleware, Events, Li Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% INR en 10 jours
(0 Commentaires)
0.0