O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting Started with Location

A new geographic location API is included with the Windows Phone 8 SDK. This WinPRT API supersedes the Windows Phone 7 .NET API that relies on the GeoCoordinateWatcher class. Although the .NET API is still supported, for new apps it is recommended that you use the new Geolocator class that is part of the new WinPRT API. The new WinPRT geo location API has many similarities with the .NET API.

The new geographic location API is located in the namespace Windows.Devices.Geolocation.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required