You can use a BroadcastReceiver to catch the Intent, and terminate it
with abortBroadcast().

On Oct 27, 8:50 pm, dreamerBoy <[EMAIL PROTECTED]> wrote:
> Hi -
>
> I am looking for a way to terminate a call in an automated fashion.
> (I realize it can be done manually - the application requires that it
> have control over the call so that it can hang up automatically.)
>
> To initiate a call, one starts an Activity with the ACTION_CALL
> Intent.
>
> However, there does not appear to be any corresponding way to end it
> with a corresponding Intent, or using the Telephony or
> TelephonyManager interface/package.
>
> The only thing I can thing of is calling finish() on the Activity used
> to start the call - but that doesn't seem right at all.
>
> Can anyone shed light on this issue?
>
> Thanks much.
>
> Paul
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to