Page 1 of 5

Audio Recorder

Posted: Tue Jul 15, 2014 2:43 am
by Lim Samantha

Hi Team,
I would like to record an audio/voice and save it into my database.

How do I do it?
Please assist , thanks!


Audio Recorder

Posted: Tue Jul 15, 2014 3:56 am
by Alena Prykhodko

Hello Lim,

The references above will be useful
https://getsatisfaction.com/apperyio/...
To save to database use File API
http://devcenter.appery.io/documentat...


Audio Recorder

Posted: Tue Jul 15, 2014 6:12 am
by Lim Samantha

Hi,
what component should i use to capture audio?


Audio Recorder

Posted: Tue Jul 15, 2014 8:32 pm
by Kateryna Grynko

Hi Lim,

You can use button click event, for example. Run this code there.


Audio Recorder

Posted: Wed Jul 16, 2014 3:19 am
by Lim Samantha

Thanks.

I tried adding the codes at the button click event but it seems to have and does not support Cordova JavaScript functions.

Codes are:

navigator.device.capture.captureAudio(
CaptureCB captureSuccess, CaptureErrorCB captureError, [CaptureAudioOptions options]
);


Audio Recorder

Posted: Wed Jul 16, 2014 3:42 am
by Illya Stepanov

Hi Lim,

Are you testing this code on a device?


Audio Recorder

Posted: Wed Jul 16, 2014 3:50 am
by Lim Samantha

Yes, on a ipad.


Audio Recorder

Posted: Wed Jul 16, 2014 4:20 am
by Illya Stepanov

Have you tried to debug your code?


Audio Recorder

Posted: Wed Jul 16, 2014 4:39 am
by Lim Samantha

Audio Recorder

Posted: Wed Jul 16, 2014 8:50 am
by Evgene Karachevtsev

Hello Lim,

Would you kindly let me know are there any errors in console?