How to Launch Call Task From Secondary Tile in Windows Phone 7
In this article we will learn how a call task is launching from Secondary Tile in Windows Phone 7.
Recently I got a mail from one of the readers.
She asked "How could be launch Call Task from Secondary Tile?" In this article I am
going to show the way to do that. Before proceeding with this article, I strongly
recommend reading the following three posts for more on Live Tiles and Call Task.
Video on How to work with Live Tiles in Windows Phone 7
Live Tiles in Windows Phone 7.5 or Mango phone
Code to make call in Windows Phone 7
Delete Secondary Tiles in Windows Phone 7.5 or Mango Phone
The idea of launching a Call Task from Secondary Tiles is very simple.
- On clicking of Secondary Tile user will get navigated to a blank page. Let us
call that page as Page1.XAML
- On NavigatedTo method of the Page1.Xaml, we will instantiate Call Task and
show call panel to user.
Let us create Secondary Tile on MainPage.Xaml. I have put a button on MainPage
and on click event of the button Secondary Tile will get created.
private void btnCreateSecondaryTiles_Click(object
sender, RoutedEventArgs e)
var newTile =
Title = "Blogs Update",
BackgroundImage = new Uri("background.png",
Count = 42,
var uri =
ShellTile.Create(new Uri(uri, UriKind.Relative),
If you notice in the preceding code, I have set navigation to Page1.Xaml. Now on
onNavigatedTo() method we need to write code to launch Call Task.
protected override void
PhoneCallTask callTask = new
callTask.PhoneNumber = "999999";
callTask.DisplayName = "debugMode";
On running you should be getting
I hope this article was useful. Thanks for reading.