You are developing a Windows Store app that accesses a USB Human Interface Device (HID). The app
has a default page and a settings page.
You need to ensure that when a user connects the USB device, the app starts automatically and
opens the settings page.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose
two.)
A.
Override the OnLaunched method in the Application class and use the ApplicationViewEventArgs
interface.
B.
Add a File Type Associations declaration to the app manifest.
C.
Add a Removable Storage capability to the app manifest.
D.
Override the OnActivated method in the Application class and use the ActivatedEventArgs
interface.
E.
Add an AutoPlay Device declaration to the app manifest.
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.application.aspx