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

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...