By : Ketan Bhimani
408
One emulator calling the other after the Call button is
pressed within the application.
Receiving Phone Calls
Much like applications can receive and process incoming SMS
messages, an application can register to answer incoming phone
calls. To enable this within an application, you must implement a
broadcast receiver to process intents with the action
Intent.ACTION_ANSWER.
Remember, too, that if you’re not interested in the call itself, but
information about the incoming call, you might want to consider
using the CallLog.Calls content provider (android.provider.CallLog)
instead. You can use the CallLog.calls class to determine recent call
information, such as
Who called
When they called