I can make a call with android using below code.
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:" + "01234567"));
startActivity(intent);
But how to stop the call after some time?
I can make a call with android using below code.
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:" + "01234567"));
startActivity(intent);
But how to stop the call after some time?
You can refer to this: PhoneCallHandlingAndroidProject
Method disconnectCall()
disconnect the call used in MainActivity.