Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Windows Phone 7.5: Building Location-aware Applications

You're reading from  Windows Phone 7.5: Building Location-aware Applications

Product type Book
Published in Jul 2012
Publisher Packt
ISBN-13 9781849687249
Pages 148 pages
Edition 1st Edition
Languages

Table of Contents (11) Chapters

Windows Phone 7.5: Building Location-aware Applications
Credits
About the Author
About the Reviewers
1. www.PacktPub.com
2. Preface
1. The Location-based World 2. Using Location in Windows Phone 7.5 3. Using Maps in your Windows Phone App 4. Events App - PacktEvents 5. Location-aware News App — PacktNews

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}