Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Phone 7 Silverlight Cookbook

You're reading from   Windows Phone 7 Silverlight Cookbook All the recipes you need to start creating apps and making money.

Arrow left icon
Product type Paperback
Published in Aug 2011
Publisher Packt
ISBN-13 9781849691161
Length 304 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Jonathan Marbutt Jonathan Marbutt
Author Profile Icon Jonathan Marbutt
Jonathan Marbutt
Robb Schiefer Robb Schiefer
Author Profile Icon Robb Schiefer
Robb Schiefer
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Automating e-mails


In this section, we will briefly discuss the differences between Launchers and Choosers and then utilize the EmailAddressChooserTask and EmailComposeTask tasks in a phone application. The Late for Work application will allow users to choose their boss' or colleague's e-mail address and then send a canned e-mail which explains why he/she is late for work. Let's face it; we don't have the time to write an e-mail about why we are late when we are late.

Getting ready

Launchers and Choosers are only slightly different; Choosers return something and Launchers do not. Choosers allow you to, for example, select an e-mail address, picture, or phone number and return it. Launchers perform tasks which do not return any items, in general, such as opening the marketplace hub or launching a web browser. Launchers and Choosers share a similar API which allows developers to very simply interface with the phone's core functions.

In this application, we will use the EmailAddressChooserTask...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image