Oxygene and WP8 – MarketplaceHubTask Launcher

Oxygene and Windows Phone 8 tutorials – Article Index

The MarketplaceHubTask launcher lets the user to launch the Windows Phone Store from their Windows Phone App.

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

To use the MarketplaceHubTask 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 MarketplaceHubTask , specify the Content Type and then call the show method of the MarketplaceHubTask object . The content type can be Applications of Music.

// developerpublish.com - MarketplaceHubTask Launcher Sample
var marketplace: MarketplaceHubTask := new MarketplaceHubTask();
marketplace.ContentType := MarketplaceContentType.Applications;
marketplace.Show()

Download the sample source code on MarketplaceHubTask 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...