How can I display a dialog box for making a choice before a CALL is processed in android?
Posted
by jsight
on Stack Overflow
See other posts from Stack Overflow
or by jsight
Published on 2010-05-30T01:29:01Z
Indexed on
2010/05/30
1:32 UTC
Read the original article
Hit count: 254
I would like to intercept outgoing calls and pass them to a VOIP application. I see that the Google Voice application has a feature for displaying a question before each call is actually initiated. It provides the user with the choice:
- Initiate call via Google Voice
- Initiate call via standard call
I would like a way to do something similar with my application (so that not all calls have to be routed through it). At the moment, I can intercept CALL events via a BroadcastReceiver, however, these are not allowed to open dialogs (thus making it possible to display the choice).
What is the best way of achieving this goal?
© Stack Overflow or respective owner