Search code examples
androidbroadcastreceiver

android how to find if a person is in call or no?


I am working on an android application. I want to add a timestemp meter to the calls. I don't know how to do this when making outgoing calls. I have to know somehow that the person which I am calling answered the call. How to do this?


Solution

  • As far as I Know, it is not possible to have command in the ongoing call and also to automatically disconnect a call. Telephone API doesn't provide any methods to do any of changes while person is talking with someone.