I used following Tutorial to make a sound recording app:
When I start it on my test device (LG P970 Optimus Black) I get an error code:
Error creating AudioRecord instance: initialization check failed.
Error code -20 when initializing native AudioRecord object.
I found some "solutions" like adding to the Manifest the RECORD_AUDIO
permission
and use the .release()
method. But all this stuff was allready in the source code.
Any other solutions for this problem? Could it be the device?