Android Question How to detect if an outgoing called in answered or not

Discussion in 'Android Questions' started by Martin Larsen, Jun 15, 2015.

  1. Martin Larsen

    Martin Larsen Active Member Licensed User


    This thread shows how to detect missed incoming calls:

    However, my app works as a call back system (the app makes the call) and it needs to know if the receiver in the other ends actually takes the phone or if it just times out. How can I do that with B4A?

  2. Erel

    Erel Administrator Staff Member Licensed User

    PhoneStateChanged event doesn't distinguish between these two states. In both cases the state will be offhook.
  3. Martin Larsen

    Martin Larsen Active Member Licensed User

    I have noticed that the call duration is 0 if the call is not received. I guess I can use that.
    Kwame Twum likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice