You are developing a Windows Store app for geocaching competitions that displays location-aware
tips.
You need to capture device location events periodically to determine if a tip should be displayed.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A.
Enable the Proximity capability in the Package.appxmanifest file.
B.
Create an instance of the Windows.Devices.Sensors.OrientationSensor class. Use the
Reportlnterval property to set the interval for getting the position data. Then attach an event
handler to the PositionChanged event to capture position and decide if tips should be shown.
C.
Create an instance of the Windows.Devices.Sensors.Gps class. Use the Reportlnterval property to
set the interval for getting the position data. Then attach an event handler to the PositionChanged
event to capture position and decide if tips should be shown.
D.
Enable the Location capability in the Package.appxmanifest file.
E.
Create an instance of the Windows.Devices.Geolocation.Geolocator class, Use the Reportlnterval
property to set the interval for getting the position data. Then attach an event handler to the
PositionChanged event to capture position and decideif tips should be shown.
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465142.aspx
http://msdn.microsoft.com/enus/library/windows/apps/windows.devices.geolocation.geolocator.aspx