it is possible to be informed when there is an
ongoing call. it is also possible to end a call
programmatically. in theory, you need a
receiver for the first and a simple method
executed in the telecommanager class, probably
with a javaobject. that's the theory. google's
documentation refers to these possibilities.
it's not clear from the documentation whether or not
your app must make the call. in other words, whether
your app can cause a call made by the default calling
app to end. sounds like a privacy issue to me, but the
documentation that i've read doesn't mention it.
if your app must make the call for this towork, then that's
a very big deal and to all intents and purposes, it may be
difficult to implement your idea as you app would have to
become the default calling app (which is not going to happen).
also, what you might manage to do now might be illegal in the
future as google applies more and more restrictions.