So, I am currently developing a mobile application that is associated with very short sound recordings, and for some time I decided to build it using Cordova (and not Phonegap). Unfortunately, today I am struggling with the actual recording on my Nexus 5.
I use the cordova media capture plugin, the code currently being executed is the code from their documentation.
On the older device, everything works fine. On my Nexus 5, although when I press the button to record sound, it just returns error code 3 (without media files) even without opening the audio recorder. I thought it might be a problem with the new android, but on the simulator this works fine. I also thought that somehow this could be due to the fact that I can’t find the audio recording application on my device, so I installed one and still nothing.
Then I thought, maybe I'm doing something wrong, I installed this application: https://github.com/Icenium/sample-capture and the same problem.
There were some tips on updating the Capture java file, which I did and still have not helped.
Any ideas? Here is crazy ...
source
share