How to answer automatically and programatically an incoming call on android
问题 I am trying to answer automatically incoming calls on my app once they are detected. My app already detects when I have an incoming call, but still does not answer the phone call. I am using the telephonyManager and I have red this tutorial Answer incoming call using android.telecom and InCallService, this one Answer Incoming Call in Android 6.0, and this one Can't answer incoming call in android marshmallow 6.0. If anyone knows how to do it please tell me. I do not mind change my code I just