Oxygene and WP8 – MapsTask Launcher

Oxygene and Windows Phone 8 tutorials – Article Index

The MapsTask launcher lets the users to launch the Maps application in Windows Phone 8.

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

To use the MapUpdaterTask 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 MapsTask, specify the optional search string (for finding and marking the locations on the map) and call the show method as shown below. You can also specify the zoom level.

var maps: MapsTask := new MapsTask();
maps.SearchTerm := "movie";
maps.Show();

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