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.)
A.
Add the Videos Library capability to the Appxmanifest file.
B.
Modify the OnActivated event of the App.xaml.cs file to pass ProtocolActivatedEventArgs to the
page if ActivatedEventArgs.Kind == ProtocolActivatedEventArgs.
C.
Add a File Type Associations declaration to the Appxmanifest file.
D.
Add an OnFileActivated event handler to the App.xaml.cs file.
E.
Add an AutoPlay Content declaration to the Appxmanifest file.
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj191724.aspx