In this post we will discuss three important launchers related to Windows Phone Market Place
- MarketPlaceHubTask launcher
- MarketPlaceReviewTask launcher
- MarketPlaceDetailTask launcher
This is used to launch Windows Phone Market Place client application. You can launch market place client application along with music content as below,
MarketplaceHubTask marketplaceHubTask = new MarketplaceHubTask(); marketplaceHubTask.ContentType = MarketplaceContentType.Music; marketplaceHubTask.Show();
You can set content type of the search either as Application or Music. MarketPlaceContentType is defined as below,
Market place client application will be launched as below,
This is used to launch market place client application with review page. Market place application review page can be launched as below,
MarketplaceReviewTask marketplaceReviewTask = new MarketplaceReviewTask(); marketplaceReviewTask.Show();
It will ask user confirmation for Submit or Cancel. It will ask user confirmation for Submit or Cancel. After selecting submit option user will be redirected to review page of market place application.
This is used to launch market place client application with details page of specified application. You need to pass unique content identifier of application to get detail page of the application from market place. If you don’t set unique content identifier then detail page of current application will be launched in windows phone market place client application.
You can launch detail page of current application as below,
MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask(); marketplaceDetailTask.ContentType = MarketplaceContentType.Applications; marketplaceDetailTask.Show();
You can launch detail page of a specific application by passing content identifier.
These are three important launchers for market place client application and you may use them frequently in your application. I hope this post is useful. Thanks for reading.Follow @debug_mode