Skip to content Skip to sidebar Skip to footer

How Can I Display A Dialog Box For Making A Choice Before A Call Is Processed In Android?

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 a

Solution 1:

Your application should listen for the intent : NEW_OUTGOING_CALL

Check here: http://developer.android.com/reference/android/content/Intent.html#ACTION_NEW_OUTGOING_CALL

And once you receive the intent in a BroadcaseReceiver, call your activity through it with your activity class intent which in turn displays the dialog.

Post a Comment for "How Can I Display A Dialog Box For Making A Choice Before A Call Is Processed In Android?"