Periodic and distance based tracking Desired accuracy in meters Single location request Caching and timeout Position source.Net APIs Windows Runtime APIs Track location changes Desired accuracy Movement threshold PositionChanged StatusChanged Start & Stop A-GPS Wi-fi Cell
Location Tracking
Single Location Request
Tips for Location Apps
Windows Phone 8 Map Control
Windows Phone Maps Services
Part of Windows Phone Toolkit MapsUserControl PushPin ToGeoCoordinate Map Control & Service APIs Map Toolkit Extensions ID_CAP_MAP and ID_CAP_LOCATION Developer Token assigned through Windows Phone Developer Center.Net
Windows Phone 7.x Maps API
Map Control and Services Takeaway
Location Tracking in Background 16
Background Execution Constraints 17
Resource Management
User Awareness and Control
Deactivation
App Lifecycle Events
Application Lifecycle runningdeactivated suspended activated tombstoned Activated deactivated Deactivated
Application Lifecycle for Location Tracking running running in background suspended activated tombstoned Activated RunningInBg deactivated
Application Lifecycle – Launching&Closing Not Running Closing Running Launching Running in Background Launching Closing
Application Lifecycle – Launching&Closing Not Running Closing Running Launching Running in Background Launching Closing RunningInBg Closing
Tips for Running in Background
Fast Resume for Windows Phone 8 Apps
Fast Resume UX 30
Backstack – Do nothing
Backstack – Clear page stack
Backstack - Cancel navigation
Navigation Events
NavigationMode.Reset
NavigationMode.Reset - Resume Resume!!!
NavigationMode.Reset – Start Fresh
Fast Resume Takeaway
Take Away