Skip to content

Call Intent

Roman Tcaregorodtcev edited this page Mar 22, 2018 · 3 revisions

Activity Action: Dial a number as specified by the data. This shows a UI with the number being dialed, allowing the user to explicitly initiate the call.
Input: If nothing, an empty dialer is started; else getData() is URI of a phone number to be dialed or a tel: URI of an explicit phone number.

OmegaIntentBuilder.from(this)
                    .call("Your phone number")
                    .createIntentHandler(this)
                    .failToast("Sorry, you don't have app for making call phone")
                    .startActivity();