What should you do?

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.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.