title: How to detect and manage incoming call (Android)?
body: <p>I want to create an application that can detect incoming calls and start my custom activity after a certain number of beeps (rings), I mean after 2 or 3 or 5 beeps (rings) my <code>activity</code> is triggered. How can I do it? </p>
  
  <p>Thanks</p>