I am trying to understand is there a way I can record calls incoming and outgoing on android phones 2.2 and above?
A client wants to record calls of the agents they make to the clients so that it can be later used to fill out some material. Instead of making the client wait while on call they want to do it later on.
Is this possible and what APIs do I need to use?
to record just hit the menu button while in call in android phone it will store conversation in amr format and in root directory of sd card max 20min conversation.
First off, you have to be careful with recording calls as there are legal requirements depending on the country.
Here is a blog post on how to record audio using the MediaRecorder.
I haven't tried recording phone call's but there is a option in MediaRecorder AudioSource for:
As long as the audio source options work, you should be good to go.
I am using mic to record calls for better support and compatibility.
Call recording programmatically is erratic on android version 4 and is established to be only one side (even if possible) for security reasons. Many vendors have their own hardware implementations for call recording. There was a case in my app where I had to record a conference call by pressing hold and add a new call. The moment I pressed hold call recording stopped becuase the incall mode was gone.