Click here to Skip to main content
13,596,105 members
Click here to Skip to main content
Add your own
alternative version

Tagged as


2 bookmarked
Posted 12 Mar 2012
Licenced CPOL

How to Launch the WP7 Application Details Page using the MarketplaceDetailTask?

, 19 Apr 2012
Rate this:
Please Sign up or sign in to vote.
How to launch the WP7 Application Details Page using the MarketplaceDetailTask?

In last two posts, we learnt how to search in the WP7 Marketplace using the MarketplaceSearchTask and how to launch the WP7 Marketplace Hub using the MarketplaceHubTask? Today in this small post, we will learn how to launch the application details page.

If you searched application in Marketplace using the marketplace client, you would be familiar about the application details page. The details page consists of information about the application including install & share button and reviews section. You might want to add that page in your application. Continue reading to learn about the API.

Like MarketplaceSearchTask and MarketplaceHubTask, there is another launchers API called MarketplaceDetailTask. MarketplaceDetailTask exposes a property called ContentIdentifier which takes the application GUID as parameter and opens up the application details page in the screen.

Here is the Meta Data of the MarketplaceDetailTask Class

public sealed class MarketplaceDetailTask
    public MarketplaceContentType ContentType { get; set; }
    public string ContentIdentifier { get; set; } // Set the application GUID
    public void Show();

Based on your requirement, set the ContentType to either Application or Music. As a short note, you need the application GUID to set as the ContentIdentifier to launch it.

Here is the sample code snippet:

var marketplaceDetailTask = new MarketplaceDetailTask
                                    ContentType = MarketplaceContentType.Applications,
                                    ContentIdentifier = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

When you execute the above code snippet, you will see the application details page in your phone device for which you entered the ContentIdentifier. Just replace the exact value to continue.

I hope that this small post was also helpful for you to understand the use of the API “MarketplaceDetailTask”. Stay tuned to my blog, facebook and twitter for many more articles, news and tips on Silverlight and Windows Phone 7.


You may like to follow me on twitter @kunal2383 or may like the Facebook page of my blog


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Kunal Chowdhury «IN»
Software Developer (Senior)
India India
Kunal Chowdhury is a Microsoft "Windows Platform Development" MVP (Most Valuable Professional), a Codeproject Mentor, Telerik Developer Expert, Nokia Developer Champion, Windows 10 Champion, Microsoft Rockstar, Speaker in various Microsoft events, Author, passionate Blogger and a Software Engineer by profession.

He is currently working in an MNC located in India. He has a very good skill over XAML, C#, Silverlight, Windows Phone, WPF and Windows Store (WinRT) app development. He posts his findings, articles, tutorials in his technical blog and CodeProject.

Book authored:

Connect with me on:

My CodeProject Awards/Prizes:

You may also be interested in...


Comments and Discussions

-- There are no messages in this forum --
Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web04 | 2.8.180621.3 | Last Updated 19 Apr 2012
Article Copyright 2012 by Kunal Chowdhury «IN»
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid