Book Image

Windows Phone 7.5: Building Location-aware Applications

Book Image

Windows Phone 7.5: Building Location-aware Applications

Overview of this book

Windows Phone 7.5 has met with some great initial reviews from all mobile critics. It is poised to be the '3rd' eco-system for mobile, joining Apple's iOS and Google's Android platform. With Microsoft and Nokia working on multiple devices based on Windows Phone, the platform is a no-brainer enterprise success. Microsoft Office, Email, Skype and a fresh new mobile operating system has been a great champion of a cause for both Microsoft and Nokia. "Windows Phone 7.5: Building Location-aware Applications" will teach you to divein to the new Windows Phone Experience. No more 600 page bibles - just the right mix of text and lots of code to get you started!"Windows Phone 7.5: Building Location-aware Applications" covers location based services and maps, and focuses on methods of location detection and maps. Powered with this information, two real-world applications are covered. In short, this is a concise book on building location aware apps for Windows Phone.
Table of Contents (11 chapters)
Windows Phone 7.5: Building Location-aware Applications
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Using maps in your Windows Phone 7.5 app — Hello Maps


Similar to the Hello Location application that we saw in Chapter 2, Using Location in Windows Phone 7.5, we will now create a new application titled HelloMaps that shows the Windows Phone Bing Maps Silverlight Control in action:

  1. 1. Launch Microsoft Visual Studio 2010 Express for Windows Phone.

  2. 2. Create a new Project from the File | New Project menu option and Name it HelloMaps.

  3. 3. Add the Map control to your app by selecting it from the Toolbox. Change the Application Title to Hello Maps and the Page Title to Bing Maps. Your project should now look like the following screenshot:

  4. 4. If you run the app now it will show the following output, as depicted in the next screenshot:

    Invalid Credentials. Sign up for a developer account at:

    http://www.microsoft.com/maps/developers

  5. 5. This is because we have not signed up for a map key from https://www.bingmapsportal.com/. Let's do so.

  6. 6. Visit https://www.bingmapsportal.com/ and sign up or log in...