I am using the AudioRecord API to record audio (WAV) in my application and it is successfully recorded. But my application behaves strangely when I try to record, while other recording applications are running in the background.
The MediaRecorder API throws an exception when trying to start recording while another recorder is running, but the AudioRecord API initializes the instance of the recorder and does not take any action, throw any exceptions, so I can not determine if any instance of the recorder is working or not.
This script was processed in Samsung S3 Voice Recorder when I try to record it,
"Unable to start a new recording. Other applications are already recording."
How can I determine if any other recorder is running or not before my application recorder starts?
source share