Microsoft 70-491 - Recertification for MCSD: Windows Store Apps using C# Exam

Page:    1 / 19   
Total 91 questions

You need to write code for the method that will be called when a user takes a picture.
(Develop the solution by arranging the code snippets. You will need all of the code snippets.)




Answer :

You need to recommend a solution to share images from the capture photo page.
You have the following code. (Line numbers are included for reference only.)


Which code segments should you recommend inserting at lines 06 and 12? (To answer, drag the appropriate code segments to the correct locations. Each code segment 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:


Note:
Scenario: The app must provide users with the ability to share pictures with other apps.

You need to write code to comply with the search requirements of the item detail page.
You have the following code:


Which code snippets should you insert in Target 1, Target 2, Target 3, and Target 4 to complete the code? (To answer, select the correct code snippet from each drop-down list in the answer area.)




Answer :

Topic 2, Scenario 2 Overview Fabrikam, Inc. is a realtor in the United States. Fabrikam grants its customers access to a web site, where they can search for houses for rent and for sale. Its customers can enter basic requirements, such as location, number of rooms, dimensions, and a price range. The web site displays a list of houses that meet the customers' criteria. The customers can then view more details about each house and can add a listing to a favorites list. Requirements Business Goals Fabrikam plans to provide a more interactive experience for its customers. Fabrikam is creating a video tour for each listing. The video tours can be used to visit the property virtually. Fabrikam plans to create a Windows Store app on Windows 8.1 RT and Windows 8.1 Pro devices. General Requirements ? The app interface must be available in English, Spanish, and French. ? The app must provide the customers with the ability to perform searches the same way that the current web site does. ? It is expected that the customers will view more than 3,000 pictures annually. The main page of the app must show a list of the last 10 pictures that were viewed. ? If pictures are added to a listing that is in a customer's favorites list, the pictures must be downloaded automatically from Microsoft Azure. This must occur if the app is suspended or not running. Printing Requirements Customers must be able to print the details of a listing from the details page by clicking a button within the app. You plan to add the following XAML markup to the listing details Name="btnPrint" Content-"Print" Click-"InvokePrint" />. Video Tour Requirements ? Customers must be able to play the video tour on a different device by using a button within the app. ? When a customer clicks the details of a listing, the app must start downloading the video tour in the background. ? When the app starts, the app must verify whether

You add a MediaElement named VideoTour and a button named playToButton to the properties details page.
You need to ensure that video tours can be played to other devices.
You have the following code: (Line numbers are included for reference only.)


Which elements should you include in Target 1, Target 2 and Target 3 to complete the code? (To answer, drag the appropriate elements to the correct targets in the answer area.
Each element 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/en-us/library/windows/apps/windows.media.playto.aspx

You create a mobile service to send push notifications to the app.
You configure the service and the app to work with Windows Push Notification Services
(WNS).
You add the following code to the App.xaml.cs file:


You need to ensure that the app can access the push notification channel.
What should you do first?

  • A. Add a call to GetChannel in the OnLaunched event handler of the app.
  • B. Set the Uri property of pushChannel in the OnActivated event handler of the app.
  • C. Set the Uri property of pushChannel in the OnLaunched event handler of the app.
  • D. Add a call to GetChannel in the OnActivated event handler of the app.


Answer : A

Explanation: http://msdn.microsoft.com/en-
us/library/windows/apps/windows.ui.xaml.application.onlaunched.aspx

Page:    1 / 19   
Total 91 questions