Oxygene and WP8 – MapUpdaterTask Launcher

Oxygene and Windows Phone 8 tutorials – Article Index

The MapUpdaterTask launcher lets the users to update the map data which was earlier downloaded by the user for using it offline. The MapDownloaderTask launcher launches the Map Settings app which displays information regarding the updates for the maps. Then the user can select the maps which needs to be updated.

How to use the MapUpdaterTask 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 MapUpdaterTask and call the show method as shown below.

var updateMap: MapUpdaterTask := new MapUpdaterTask ();
updateMap.Show();

Note that you require an active internet connection on your phone / emulator to update the maps.

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