Oxygene and WP8 – MarketplaceDetailTask Launcher

Oxygene and Windows Phone 8 tutorials – Article Index

The MarketplaceDetailTask lets the user to launch the Windows Phone Store and show the specified application’s details page in the store. When the

How to use the MarketplaceDetailTask Launcher in Windows Phone 8 with Oxygene?

To use the MarketplaceDetailTask launcher with Oxygene, follow the below steps.

1. Include the following namespace in the code behind file.

uses
Microsoft.Phone.Tasks;

2. Create an instance of the MarketplaceDetailTask , specify the ContentIdentifier (appid) and then invoke the show method of the MarketplaceDetailTask object.

// developerpublish.com - MarketplaceDetailTask Launcher Sample
var marketplacedetail: MarketplaceDetailTask := new MarketplaceDetailTask();
marketplacedetail.ContentIdentifier := '548e4246-0e8d-4ed7-8fb6-fc7f085aab4d';
marketplacedetail.ContentType := MarketplaceContentType.Applications;
marketplacedetail.Show()

3. This should launch the specified Application’s details page in the Windows Phone Store.

Oxygene and WP8 - MarketplaceDetailTask Launcher

Download the sample source code on MarketplaceDetailTask Launcher in Oxygene and WP8 here

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...