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