You are designing a Windows Phone 7 application. The application will provide a button that launches the default camera application when the button is pressed. After a photo is taken, the application will display the captured photo to the user. You need to ensure that after the photo is taken and the application is reactivated, the photo is retrieved. What should you declare in the code? (Each correct answer presents part of the solution. Choose all that apply.)
A.
an instance of CameraCaptureTask at the end of the constructor of the PhoneApplicationPage class
B.
an instance of CameraCaptureTask with a global scope within the PhoneApplicationPage class
C.
an instance of PhotoChooserTask with a global scope within the PhoneApplicationPage class
D.
an event handler for the completion of CameraCaptureTask within the constructor of the PhoneApplicationPage class
E.
an event handler for the completion of CameraCaptureTask within the event handler of the Click event of the button
F.
an event handler for the completion of PhotoChooserTask within the constructor of the PhoneApplicationPage class