Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. List the three visual elements. Briefly describe each. 2. What is the PCL? Gi

ID: 3805329 • Letter: 1

Question

1. List the three visual elements. Briefly describe each.

2. What is the PCL? Give an example of how it is used.

3. What is the file ending for an Android project? Windows Project? Windows Phone Project? Mac project?

4. Explain where Form.init can be found for Windows, Windows phone, Android, and Mac applications.

5. Each platform must instantiate the APP class (wihich is located in the PCL). This occurs in a call to the LoadApplication. Explain where this call occurs in the Windows, Windows Phone, Android, and Mac platforms

Explanation / Answer

1. The three basic visual elements are :

a. Line : It is a surface which gives the outline or a shape , It can be thick or thin , and the types on lines are actual, implied, vertical, horizontal, diagonal and contour lines.

b. Color : Color gives the specific hues of the design , there are 3 properties of a colr Chroma, Intensity and Value.

c. Texture : Texture gives the quality of the surface , it can either tactile or visual, it represents the degree of roughness or smothness.

2 . Portable class libraries are normal class libraries , the shared code in PCL is shared with the other applications , PCL is used in cross platform development , It reduces time and cost and the applications could be run on Windows and Windows phone.

3. The file extension for android project is .apk , the file extension for the windows project is .mpp , the file extension for windows phone project is .xap, and the file extension for MAC project is .avp .

4. In windows Forms.Init is found to invoke Xamarin.Forms library , it sets the initial page. In Windows phone and in Android the initalizing of Xamarin.Forms library is similar, The Init method is called to set the initial Page and also to be result of App.GetMainPage() method. In MAC Xamarin.Forms are invoked as global::Xamarin.Forms.Forms.Init();

5. a.In the Android project the LoadApplication method with an instance of APP class by using the call

b. In Windows phone project the LoadApplication call is called to create an instance of your Xamarin.FormsApp.

by using the call

c. In Windows project the LoadApplication is called to create an instance of your Xamarin.Forms App as

d. In MAC the LoadApplication method with an instance of APP class is called as LoadApplication(new App()); , it called after the code global::Xamarin.Forms.Forms.Init(); Xamarin.Forms initialization .