terminating a call in an automated fashion

Put your problem here if it does not fit any of the other categories.

terminating a call in an automated fashion

Postby phubenig » Tue Oct 28, 2008 10:41 pm

Hi -

I am looking for a way to terminate a call in an automated fashion.
(I realize it can be done manually - but 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. (To answer a call, one uses the ACTION_ANSWER 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.

Second question is how to hang up an ~incoming~ call after it has been
answered ....

Can anyone shed light on this issue?

Thanks much.

Paul
phubenig
Junior Developer
Junior Developer
 
Posts: 11
Joined: Tue Oct 07, 2008 11:55 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests