In android version 28 we used TelecomManager.endCall for cut the call and version 29 above we used callRedirection service and callScreeningService for cut the call. Then Which API is used for end the call or cut the call in android version 23 to 27?
Asked
Active
Viewed 100 times
0
-
https://stackoverflow.com/a/18065415/1443981 This is the one you are looking for? – Aswin Apr 20 '21 at 08:29
1 Answers
0
use ITelephony interface concept.
Must use this format: file name: ITelephony.java file:
package com.android.internal.telephony; //must use this package only
public interface ITelephony {
boolean endCall();
void answerRingingCall();
void silenceRinger();
}

Sivashankar C
- 1
- 1