title: BroadcastReceiver for call answers
body: <p>I'm trying to programmatically intercept a call answer.</p>
  
  <p>I've got a BroadcastReceiver with the following method:</p>
  
  <pre><code>@Override
  public void onReceive(Context context, Intent intent) {
      Bundle extras = intent.getExtras();
      if (extras != null) {
          String state = extras.getString(TelephonyManager.EXTRA_STATE);
          if(state.equals("OFFHOOK")) {
              // ...
          }
          // ANSWER ??
      }
  }
  </code></pre>
  
  <p>While the code works successfully if the phone receives a call (offhook is related to the answer, because before I've got the ringing state) I can't detect the answer relatively to a placed call: in this case offhook is relative to the ringing.</p>
  
  <p>How can I intercept the answer relatively to a placed call?</p>