aykuttasil / CallRecorder

Android Phone Call Recorder
MIT License
756 stars 241 forks source link

Some Device Record one side and some device give error #7

Open NarenderNagpal opened 7 years ago

NarenderNagpal commented 7 years ago

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?

aykuttasil commented 7 years ago

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

NarenderNagpal commented 7 years ago

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

anandinmaddy commented 7 years ago

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

davidcantonnoteges commented 5 years ago

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