[android-developers] ACTION_ANSWER never answers the call - phone state stays RINGING..

2008-12-11 Thread dreamerBoy
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 // | Int

[android-developers] ACTION_ANSWER

2008-12-07 Thread legerb
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

[android-developers] ACTION_ANSWER

2008-09-10 Thread Jose María González
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 MyP