Monday, August 1, 2011

Windows Phone 7 Launcher's



Searching for Windows Phone 7(WP7) launcher tasks ??? here is the answer.





Launching Media Player Task



MediaPlayerLauncher media= new MediaPlayerLauncher();
media.Media = new Uri("samplevideo.wmv", UriKind.Relative);
media.Location = MediaLocationType.Data;
media.Controls = MediaPlaybackControls.Pause | MediaPlaybackControls.Stop;
media.Show();


Launching Web Browser Task



WebBrowserTask wbtask= new WebBrowserTask();
wbtask.URL = "http://clusterlessons.blogspot.com/";
wbtask.Show();


Launching SMS Compose Task



SmsComposeTask sms = new SmsComposeTask();
sms.To = "98888888";
sms.Body = "success";
sms.show();



Launching Search Task



SearchTask srch= new SearchTask();
srch.SearchQuery = "blackberry";
srch.Show();


Launching Email Compose Task



EmailComposeTask email= new EmailComposeTask();
email.To = "user@example.com";
email.Body = "Email message body";
email.Cc = "user2@example.com";
email.Subject = "Email subject";
email.Show();



Launching Market Place Detail Task



MarketplaceDetailTask mpdt = new MarketplaceDetailTask();
mpdt.ContentIdentifier = "Unique ID of your application";
mpdt.Show();




Launching Market Place Hub Task



MarketplaceHubTask mpht = new MarketplaceHubTask();
mpht.ContentType = MarketplaceContentType.Music;
mpht.Show();




Launching Market Place Rivew Task



MarketplaceReviewTask mprt = new MarketplaceReviewTask();
mprt.Show();



Launching Market Place Search Task



MarketplaceSearchTask mpst = new MarketplaceSearchTask();
mpst.SearchTerms = "msn india";
mpst.Show();



Launching Phone Call Task



PhoneCallTask pct = new PhoneCallTask();
pct.PhoneNumber = "98888888888";
pct.DisplayName = "name";
pct.Show();
Arun Kumar Munusamy
Arun Kumar Munusamy Web Developer

Morbi aliquam fringilla nisl. Pellentesque eleifend condimentum tellus, vel vulputate tortor malesuada sit amet. Aliquam vel vestibulum metus. Aenean ut mi aucto.

No comments:

Post a Comment