launchers and choosers
TRANSCRIPT
LAUNCHERS A
ND
CHOOSERS
BY
AM
R A
BU
L NA
GA
WHAT IS IT ?!
Framework that enables Windows Phone applications to provide common functions such as placing phone calls, sending emails, and taking pictures for their users
o The Windows Phone application model isolates every application in its own work area for both execution (including memory isolation) and file storage.
o Windows Phone applications are not able to directly access common information stores such as the contacts list or to directly invoke other applications such as phoning or messaging.
o To support scenarios requiring common tasks such as phoning or messaging, the Windows Phone provides a set of launcher and chooser APIs that enables applications to access these useful phone features indirectly.
o The launcher and chooser APIs invoke distinct built-in applications that replace the currently running application. When implemented correctly, the launchers and choosers framework provides the end user with a seamless experience while masking the application switching that occurs in the background.
Launcher - A “fire and forget” action, where a specific Windows Phone functionality is launched, for example, sending an SMS message, opening a webpage, or placing a phone call
Chooser - An “open file dialog” action, where information is selected from a specific phone application’s storage area, for example, selecting an email address, contact, or picture
LAUNCHERS EmailComposeTask - Enables an application to launch the
email application with a new message already displayed, so users can send email messages from within an application
MarketplaceDetailTask - Enables an application to launch the Windows Phone Marketplace client application and display the details page for the specified product
MarketplaceHubTask - Enables an application to launch the Windows Phone Marketplace client application
MarketplaceReviewTask - Enables an application to launch the Windows Phone Marketplace client application and display the review page for the specified product
MarketplaceSearchTask - Enables an application to launch the Windows Phone Marketplace client application and display the search results from the specified search parameters
MediaPlayerLauncher - Enables an application to launch the media player
LAUNCHERS PhoneCallTask - Enables an application to launch the Phone
application, so users can make a phone call from within an application
SaveEmailAddressTask - Enables an application to launch the contacts application, so users can save an email address from within an application to a new or existing contact
SavePhoneNumberTask - Enables an application to launch the contacts application so users can save a phone number from within an application to a new or existing contact
SearchTask - Enables an application to launch the Web Search application
SmsComposeTask – Enables an application to launch the SMS application
WebBrowserTask - Enables an application to launch the Web Browser application
CHOOSERS
EmailAddressChooserTask - Enables an application to launch the Contacts application, so users can extract selected contact email addresses
CameraCaptureTask - Enables an application to launch the Camera application, so users can take a photo from within an application
PhoneNumberChooserTask - Enables an application to launch the Contacts application, so users can extract selected contact phone numbers
PhotoChooserTask - Enables an application to launch the Photo Chooser application, so users can select a photo
LIVE DEMO
CONTACT ME
Amr Abulnaga
Microsoft Student Partner
E-mail: [email protected] , [email protected]
Facebook: http://www.facebook.com/amrabulnaga.0
Twitter: http://twitter.com/amrabulnaga
LinkedIN: http://eg.linkedin.com/in/amrabulnaga