There are no errors in the console i guess.
Can i know which code to put in the button event? Isit this code?
navigator.device.capture.captureAudio(
CaptureCB captureSuccess, CaptureErrorCB captureError, [CaptureAudioOptions options]
);
There are no errors in the console i guess.
Can i know which code to put in the button event? Isit this code?
navigator.device.capture.captureAudio(
CaptureCB captureSuccess, CaptureErrorCB captureError, [CaptureAudioOptions options]
);
Hello Lim,
Could you try this way:
codefunction captureSuccess(mediaFiles) {
var i, len;
for (i = 0, len = mediaFiles.length; i < len; i += 1) {
//do something with mediaFiles
}
}
// Called if something bad happens.
//
function captureError(error) {
var msg = 'An error occurred during capture: ' + error.code;
navigator.notification.alert(msg, null, 'Uh oh!');
}
// A button will call this function
//
function captureAudio() {
// Launch device audio recording application,
// allowing user to capture up to 1 audio clips
navigator.device.capture.captureAudio(captureSuccess, captureError, {limit: 1});
}/code
You may find more info here: http://cordova.apache.org/docs/en/3.3...
Hello Lim,
Please clarify, do you perform "Full example" as it is described here:
http://cordova.apache.org/docs/en/3.3... ?
Lim,
You don't do anything with the files. There, where there is the comment in the code
pre//do something with mediaFiles/pre
you should add code which will send the file to the database. You may read more here: https://getsatisfaction.com/apperyio/...
in my case, i would like to send audio files to the database.
what codes should i add? able to provide me?
thank you
Hello,
Please show us what you have tried.
Please read post Evgene suggested.
hi, i followed this tutorial: http://devcenter.appery.io/tutorials/... but still does not save into database. please assist me.
how do i record my voice without start and stop button?
anyway here are the steps i did:
Hello Lim,
Could you please try to send files this way: https://getsatisfaction.com/apperyio/...
Not through uploadMultipleFilesHelper