Microsoft
70-491 · Question #41
You are developing a Windows Store app to view MP4 videos. You need to ensure that when a user double-clicks an MP4 file, the app starts and plays back the video automatically. Which two actions…
The correct answer is C. Add a File Type Associations declaration to the Appxmanifest file. D. Add an OnFileActivated event handler to the App.xaml.cs file. See the full explanation below for the reasoning.
Question
You are developing a Windows Store app to view MP4 videos. You need to ensure that when a user double-clicks an MP4 file, the app starts and plays back the video automatically. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Options
- AAdd the Videos Library capability to the Appxmanifest file.
- BModify the OnActivated event of the App.xaml.cs file to pass ProtocolActivatedEventArgs to
- CAdd a File Type Associations declaration to the Appxmanifest file.
- DAdd an OnFileActivated event handler to the App.xaml.cs file.
- EAdd an AutoPlay Content declaration to the Appxmanifest file.
How the community answered
(49 responses)- A6% (3)
- B10% (5)
- C82% (40)
- E2% (1)
Community Discussion
No community discussion yet for this question.