You can abort a call using BroadcastReceiver in your application.

Kamal

On Feb 3, 1:31 am, Tilekus <[email protected]> wrote:
> Hi everyone,
>
> We are new to Android and creating 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 we tried using Intent.ACTION_CALL to use existing activity:
>
>         Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse
> ("tel:" + phoneNumber));
>         startActivity(callIntent);
>
> But we can't figure out whether it's possible to stop launched by this
> default Call activity. Is it possible? If yes, how?
>
> If not, what should we use to write our own Call activity to make a
> very simple call?
> We would want this activity only to be used by our application, not
> for all outgoing calls.
>
> Million thanks in advance,
>
> Tilek
--~--~---------~--~----~------------~-------~--~----~
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