Hi,
I am developing an application where one of the things we need is to control the outgoing call, at least to be able to stop it from our application.
For now I tried using Intent.ACTION_CALL to use existing activity:
Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + phoneNumber));
startActivity(callIntent);
But stopping the call seems to be disallowed by default API.
Can you suggest some workaround?
For example, enabling airplane mode during the call :) Just an example, this hack didn't work for me. :)
Thanks a lot!
Tilek