CallRecorder icon indicating copy to clipboard operation
CallRecorder copied to clipboard

Some Device Record one side and some device give error

Open NarenderNagpal opened this issue 7 years ago • 4 comments

In Samsung Grand Max (Model number SM-G7202, Version - 5.1.1) record only one side.

and in Redmi Note 3 getting an error : java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } in com.aykuttasil.callrecord.receiver.CallRecordReceiver@11d96837...

Please give the solution what should I do?

NarenderNagpal avatar Apr 11 '17 06:04 NarenderNagpal

Please whether check have <uses-permission android:name="android.permission.READ_PHONE_STATE" /> in AndroidManifest.xml.

aykuttasil avatar Apr 15 '17 20:04 aykuttasil

Thanks for your response. Already added this permission. But didn't solve the problem.

NarenderNagpal avatar Apr 17 '17 08:04 NarenderNagpal

@NarenderNagpal check this line in your code. mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC)

anandinmaddy avatar Jun 14 '17 07:06 anandinmaddy

Same issue here with S8,S8+,S9,S9+ Xioami MI A2.... i tried all possible combinations of code

davidcantonnoteges avatar Nov 12 '18 09:11 davidcantonnoteges