The address chooser task is used to allow the user to provide your app with the street address of a contact. This task launches the built-in Contacts application so that the user can select a contact.
To query the user’s contact list without requiring the user to select a contact, use the
Contacts class, described later in this chapter.
If the user completes the task, an event is raised and the task’s
Completed event handler receives an address in the result.
The sample for the
AddressChooserTask consists of the
AddressChooserTaskView page and
AddressChooserTask should be defined as a field in your class, like so:
readonly AddressChooserTask ...