Rock Mobile Docs

Please login to access all of the features of the Community Site.

CallPhoneNumber

Mobile1.0

We're sure you can think of other uses, but wouldn't it be nice if your application had your church's phone number displayed somewhere and the user could just tap on it to call your church office? Yep. That would be nice. If only the user was on a phone or something like that.

The CommandParameter specifies the phone number to be dialed, if it's blank then nothing will happen.

Note

This command needs a device that can place calls. On most tablets and simulators, nothing happens.

<Button Text="Tap"
    Command="{Binding CallPhoneNumber}"
    CommandParameter="15552138874" />