Android Question Audio Recording android in 4.1

Juzer Hussain

Active Member
Licensed User
Hi,

I am having issue with audio recording in mobiles with android ver 4.1.2.
In higher versions it is working fine.I have added permissions, asks for it and no issues.
In 4.1.2 it shows error in line

streamer.StartRecording

java.lang.IllegalStateException: startRecording() called on an uninitialized AudioRecord.
and crashes.

I tried adding explicit permission in manifest also but no luck.

Can some one pls guide.

Thanks
Juzer[/code]
 

JohnC

Well-Known Member
Licensed User
This doesn't appear to be a permission issue.

Can you provide a link to the audio library you are using (because there are a bunch of different ones in the forum)?

And does the sample provided for that library run ok?
 
Last edited:

Juzer Hussain

Active Member
Licensed User
Hi JohnCody,

Thanks for the reply.
I am using Audio Library ver 1.63.
This library's sample also will doesn't work in 4.1.2.

Juzer
 
Top