Which code snippets should you include in Target 1 and Target 2 to complete the code?

###BeginCaseStudy###
Case Study: 2
Scenario Geese
Background
You are developing a Windows Store app. The app will allow ornithologists to photograph
migrating geese, taking note of the location, heading, and weather conditions at the time each
photo is taken.
BusinessRequirements
The app must adhere to the following requirements:
• Create and store photographs of migrating geese.
• Record the location and weather conditions where the photograph was taken.

• Record the heading and time that the photograph was taken.
• Allow the user to display the information on any device that supports the
PlayTo feature.
TechnicalRequirements
General:
The app must meet the following technical requirements:
• The app must store images and image metadata in the Pictures Library.
• The metadata logic must be encapsulated within a reusable component named
LogicComponent1.
• The metadata logic must be available to Windows Store apps written in Visual
Basic, C#, JavaScript, and C++.
Hardware:
• The app requires a device with camera, compass, and GPS features.
• The app requires a device with Internet capabilities.

###EndCaseStudy###

DRAG DROP
You need to allow users to capture video instead of photos.
You have the following code:

Which code snippets should you include in Target 1 and Target 2 to complete the code? (To answer,
drag the appropriate code snippets to the correct targets in the answer area. Each code snippet may
be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)

###BeginCaseStudy###
Case Study: 2
Scenario Geese
Background
You are developing a Windows Store app. The app will allow ornithologists to photograph
migrating geese, taking note of the location, heading, and weather conditions at the time each
photo is taken.
BusinessRequirements
The app must adhere to the following requirements:
• Create and store photographs of migrating geese.
• Record the location and weather conditions where the photograph was taken.

• Record the heading and time that the photograph was taken.
• Allow the user to display the information on any device that supports the
PlayTo feature.
TechnicalRequirements
General:
The app must meet the following technical requirements:
• The app must store images and image metadata in the Pictures Library.
• The metadata logic must be encapsulated within a reusable component named
LogicComponent1.
• The metadata logic must be available to Windows Store apps written in Visual
Basic, C#, JavaScript, and C++.
Hardware:
• The app requires a device with camera, compass, and GPS features.
• The app requires a device with Internet capabilities.

###EndCaseStudy###

DRAG DROP
You need to allow users to capture video instead of photos.
You have the following code:

Which code snippets should you include in Target 1 and Target 2 to complete the code? (To answer,
drag the appropriate code snippets to the correct targets in the answer area. Each code snippet may
be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)

Answer:

Explanation:
http://msdn.microsoft.com/enus/library/windows/apps/windows.media.capture.cameracaptureui.aspx



Leave a Reply 0

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