Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Location Services and Bing Maps in Windows Phone 7


Published on

How to use Location Services and Bing Maps Controls in Windows Phone 7.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Location Services and Bing Maps in Windows Phone 7

  1. 1. Location Services and Bing Maps in WP7<br />
  2. 2. Overview<br />
  3. 3. Location in WP7<br />Uses<br />Geo-tagging (tweets, pictures)<br />Discovering services nearby<br />Sharing location with friends<br />
  4. 4. GeoCoordinateWatcher<br />Does EVERYTHING<br />Gets location (altitude, lat / long)<br />Gets course and speed<br />Can control what mechanisms it uses to grab location<br />
  5. 5. GeoCoordinateWatcher (Code)<br />
  6. 6. DEMO<br />GeoCoordinateWatcher Demo<br /><br />
  7. 7. Gotchas<br />PositionChanged event never fires in the emulator<br />This is changing in Mango<br />No background tracking yet<br />Coming in Mango<br />GeoPositionAccuracy.High DESTROYS battery life<br />Meant for real-time geotracking<br />Use GeoPositionAccuracy.Default to conserve power<br />
  8. 8. Bing Maps<br />You don't have to code anything<br />Includes default templates for everything<br />Get a free developer key from<br />
  9. 9. Bing Maps (Code)<br />
  10. 10. DEMO<br />Bing Maps Demo <br /><br />
  11. 11. Marketplace / Metro UI / Privacy Guidelines<br />Privacy is a big concern..<br />User needs to be able to control how their data is used<br />All location-data must be opt-in<br />App is tested for privacy policy compliance in marketplace<br />
  12. 12. What Developers Need to Do<br />Provide Yes / No prompt to users giving Geolocation consent upon first application run<br />Provide settings page where user can change settings at any time<br />
  13. 13. Futures<br />Geolocation Emulator<br />Real Background Tasks<br />View the sessions online at Channel 9<br />
  14. 14. Thanks!<br />Follow me at<br /><br />@Aaronontheweb<br /><br />Source<br />Location Services:<br />Bing Maps:<br />