Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
edopelawi
Posts: 2
Registered: ‎02-06-2014
My Device: Q5

SourceUnavailable error on AudioRecorder

Hi all, I'm currently trying to create some recording-like app just like Dictaphone (https://github.com/blackberry/Cascades-Samples/tree/master/dictaphone), and trying to mimic the QML way for creating the AudioRecorder.

 

Sadly, I sometimes get an "SourceUnavailable" error when creating a new record - sometimes it comes in, sometimes its not. The difference between my code and the Github example is I'm using app folder for saving the record, and using current timestamp (yyyyMMdd-hhmmsszz) for the file using Javascript Date() on QML side, instead of C++.

 

I've been looking through the documentations and forum posts, and didn't found any solution for this. I'm using SDK 10.1.0.2342. Any ideas?

 

Thanks in advance! :smileyhappy:

New Contributor
edopelawi
Posts: 2
Registered: ‎02-06-2014
My Device: Q5

Re: SourceUnavailable error on AudioRecorder

Anybody? :smileysad: