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 will learn about sync provider notifications in Windows 11 and how to disable or enable it...
In this tutorial, let’s learn how to enable or disable the startup sound in Windows 11. By default, when Windows...
The CameraCaptureTask allows the Windows Phone 7 App to launch the Camera Application . This will be useful when the...