0

I want to know how Android detect when receiver accepts my phone call? Which state does TelephoneManager capture in this time?

Kara
  • 6,115
  • 16
  • 50
  • 57
Nguyen
  • 2,019
  • 1
  • 24
  • 31
  • There is no way you can detect when a called is accepted. – Hoan Nguyen Apr 11 '13 at 04:36
  • @Hoan Nguyen: Is there any document say about it? – Nguyen Apr 11 '13 at 05:25
  • No but there is nothing in the TelephoneManager that can tell you, the PhoneStateListener go from Ringing to Offhook and then Idle. I knew a lot of people who want to intercept the call but none succeed so far. – Hoan Nguyen Apr 11 '13 at 05:29
  • @ Hoan Nguyen: thanks for your comment, i am going to dig deeper on this issue. However, I believe there is some ways to detect this state. :) – Nguyen Apr 12 '13 at 01:22
  • I guess you have to look at the source code for this or maybe you can write a service that somehow can detect screen touch and thus deduct if a called is answered depending on the area touched. – Hoan Nguyen Apr 12 '13 at 01:26

0 Answers0