code:
try
{
// answer the phone
Intent myIntent = new Intent(Intent.ACTION_ANSWER);
myIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP //
| Intent.FLAG_DEBUG_LOG_RESOLUTION //
| Intent.FLAG_FROM_BACKGROUND //
|
I've also tried to use ACTION_ANSWER, but i keep getting the
ActivityNotFoundException.
Does it mean that the Phone app is not registered for this intent?
What is the purpose of ACTION_ANSWER then?
-- Forwarded message --
From: Jose María González [EMAIL PROTECTED]
Date: Sep 10,
I am trying to automatically answer an incoming call.
I am using the intent ACTION_ANSWER, but when a call arrives I can
only see an IndexOurOfBoundsException from JavaBinder. According to
the documentation it is possible to answer the call, but I cannot make
it.
Here is my code
public class
3 matches
Mail list logo