Call recording – make it work on Nexus 5X (rooting or custom ROM possible)

Not sure if it is a Nexus 5 specific issue but usually the class used to record calls is MediaRecorder. Have you tried to replace AudioRecorder by a MediaRecorder? Based on this stack-overflow question, I think you could try the following code based on Ben blog post: import android.media.MediaRecorder; import android.os.Environment; import java.io.File; import java.io.IOException; … Read more

Modifying in-call voice playback in Android custom ROM

There are several possible issues that come to my mind. The blank buffer might indicate that you have the wrong source selected. Also since according to https://developer.android.com/reference/android/media/AudioRecord.html#AudioRecord(int,%20int,%20int,%20int,%20int) you might not always get an exception even if something’s wrong with the configuration, you might want to confirm whether your object has been initialized properly. If all … Read more

tech