riul88 / call-recorder-for-android

call-recorder-for-android fork
159 stars 98 forks source link

Does not work on Nexus 6/ Lollipop? #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install
2. Enable
3. Nothing happens

What is the expected output? 
A recording after the call

What do you see instead?
an empty folder

What version of the product are you using? On what operating system?
current version on F-Droid - Version 2.0.3

Please provide any additional information below.
I do not know if I am doing anything wrong. not many settings to control.

Original issue reported on code.google.com by frankesp...@gmail.com on 9 Mar 2015 at 7:25

riul88 commented 9 years ago

Hi, I added some code to the application for it to stop breaking and to work with Android 4.1.2, if possible could you please try to install it in your phone and let me know if it works, unfortunately I don't have a device with that version of android to test.

You can download the package from https://github.com/riul88/call-recorder-for-android/blob/master/bin/Android%20Call%20Recorder.apk

DocSniper commented 9 years ago

Here the same, version 2.0.5 from F-Droid is not working on CM12 (Android 5.0.2). Tried your APK from above, but nothing changes.

The app is throwing a toast message: "Unfortunately, it is not possible to record calls in this device. (Usually because another application/service is using the microphone in the background)"

DocSniper commented 9 years ago

Hopefully a logcat can help:

04-05 15:34:28.009 D/Call recorder: (15047): RecordService onStartCommand 04-05 15:34:28.009 D/Call recorder: (15047): RecordService RECORDING_ENABLED 04-05 15:34:46.439 D/Call recorder: (15047): MyPhoneReciever phoneNumber [...] 04-05 15:34:46.449 D/Call recorder: (15047): RecordService onStartCommand 04-05 15:34:46.449 D/Call recorder: (15047): RecordService STATE_INCOMING_NUMBER 04-05 15:34:46.449 D/Call recorder: (15047): RecordService startService 04-05 15:34:48.619 D/Call recorder: (15047): MyPhoneReciever phoneNumber null 04-05 15:34:48.619 D/Call recorder: (15047): RecordService onStartCommand 04-05 15:34:48.629 D/Call recorder: (15047): RecordService STATE_CALL_START 04-05 15:34:48.629 D/Call recorder: (15047): RecordService startRecording 04-05 15:34:50.699 E/Call recorder: (15047): Exception 04-05 15:34:50.699 D/Call recorder: (15047): RecordService terminateAndEraseFile 04-05 15:34:50.699 D/Call recorder: (15047): RecordService stopAndReleaseRecorder 04-05 15:34:50.699 E/Call recorder: (15047): IllegalStateException 04-05 15:34:50.709 D/Call recorder: (15047): RecordService deleteFile 04-05 15:34:50.709 D/Call recorder: (15047): FileHelper deleteFile /storage/emulated/0/recordedCalls/d20150405153448p66814889166.3gp 04-05 15:34:50.709 D/Call recorder: (15047): RecordService deleteFile 04-05 15:34:50.709 D/Call recorder: (15047): MyPhoneReciever phoneNumber null 04-05 15:34:50.709 D/Call recorder: (15047): RecordService onStartCommand 04-05 15:34:50.709 D/Call recorder: (15047): RecordService STATE_CALL_END 04-05 15:34:50.709 D/Call recorder: (15047): RecordService stopService 04-05 15:34:50.769 D/Call recorder: (15047): RecordService onDestroy 04-05 15:34:50.769 D/Call recorder: (15047): RecordService stopService

shawe commented 9 years ago

Same problem here with Samsung Galaxy S3 (GT-i9300) with CM12.1.

Liknus commented 9 years ago

The same happens to me! Nexus4 with XenonHD stable2.0 build1, unleashed 101u kernel, 2.0.5/the version of the app (neither 2.0.3 worked out for me) and F-Droid v.0.83. Same toast message as error, even if it is the only recording app I have.

LeebeeDev commented 9 years ago

same here!

Liknus commented 9 years ago

Any news/updates to solve this bug? ;) L.

Harish1n1ly commented 9 years ago

Does not work on Android M as well. Unlike Lollipop, it does not report any error but only creates empty audio files. :(

jitendravashishtha commented 9 years ago

I am also getting the same problem. did anybody get the solution of this problem on Lollipop?

Thanks

GreenLunar commented 9 years ago

Maybe this bug has to do with the fact that call-recorder-for-android does not have a possibility to change input source, as some other apps do? See #23