[android-developers] Re: hanging up/terminating a call in an automated fashion

2008-10-30 Thread legerb
Oh sorry, I should've been more clear. I was talking about the ACTION_NEW_OUTGOING_CALL. Hanging up incoming call programmaticaly is currently impossible. As for the outgoing call - it can be terminated only when initiated, because only then we can catch the Intent. After that there seems to be

[android-developers] Re: hanging up/terminating a call in an automated fashion

2008-10-29 Thread legerb
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

[android-developers] Re: hanging up/terminating a call in an automated fashion

2008-10-29 Thread dreamerBoy
...Interesting Thanks so much for the reply. Perhaps I have misunderstood but I have some questions about this approach. i) A Broadcast receiver is a passive entity. What would be the active entity that will be generating the Intent? Remember, my code is supposed to be the one to

[android-developers] Re: hanging up/terminating a call in an automated fashion

2008-10-27 Thread dreamerBoy
Second question is how to hang up an ~incoming~ call after it has been answered On Oct 27, 11:50 am, 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