0

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
user1438823
  • 1,273
  • 3
  • 18
  • 25
  • Take a look at there http://stackoverflow.com/questions/10671510/how-to-stop-a-intent-action-call-once-started – Atheryl Oct 14 '14 at 04:07

1 Answers1

0

You can refer to this: PhoneCallHandlingAndroidProject

Method disconnectCall() disconnect the call used in MainActivity.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Angad Tiwari
  • 1,738
  • 1
  • 12
  • 23