Different types of Chooser Tasks in Windows Phone 7

In this article I will try to explain different types of Chooser Tasks available in Windows Phone 7

Introduction

In this article I will try to explain different types of Chooser Tasks available in Windows Phone 7.

Chooser

Chooser is also an API like Launcher that enables users to launch different inbuilt application of Windows Phone to perform certain tasks. Main difference between Chooser and Launcher Tasks is that unlike Launcher, Chooser can return data to the calling application like PhotoChooserTask, EmailAddressChooserTask, PhoneNumberChooserTask etc. Following are the list of available Chooser tasks in Windows Phone 7.

Chooser Task

Description and Uses

AddressChooserTask It opens the default Contact application of the phone and allows users to select a contact.  It returns address of the selected contact.
CameraCaptureTask It opens the Camera application to capture photo and enables users to capture a photo. It returns photo data as a stream.
EmailAddressChooserTask It opens the Contact application and enables users to select a contact. It returns Email address of the chosen contact.
GameInviteTask It shows a game invite screen in a multiplayer game session and allows users to invite players.
PhoneNumberChooserTask It opens the Contact application and allows users to select a contact. It returns the phone number of the selected contact.
PhotoChooserTask It opens the Photo Chooser application and allows users to select an existing photo from the phone.
SaveContactTask It opens the Contact application and enables users to save a contact.
SaveEmailAddressTask It opens the Contact application and enables users to save an Email address.
SavePhoneNumberTask It opens the Contact application and enables users to save a phone number.
SaveRingtoneTask It launches Ringtones application and allows users to save an audio file to the ringtones list. It also allows users to set this as default ringtone and it can also be set as default ringtone of a particular contact.

To use these Tasks you need to add Microsoft.Phone.Tasks namespace.

Leave a Reply

Your email address will not be published. Required fields are marked *