introduction to database management...0 cleveland institute of electronics introduction to windows...

51
CLEVELAND INSTITUTE OF ELECTRONICS INTRODUCTION TO WINDOWS PHONE 7 LESSONS 9021C THROUGH 9030C

Upload: others

Post on 23-Sep-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

0

CLEVELAND

INSTITUTE OF

ELECTRONICS

INTRODUCTION TO WINDOWS PHONE 7 LESSONS 9021C THROUGH 9030C

Page 2: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

1

Study Guide to accompany Beginning Windows Phone 7 Development, 2nd

Edition

By Henry Lee and Eugene Chuvyrov

ISBN: 1430235969

ISBN 13: 9781430235965

This study guide contains excerpts from the book Beginning Windows Phone 7 Development | Second Edition by Henry Lee and Eugene Chuvyrov

© Copyright 2012 Cleveland Institute of Electronics All Rights Reserved / Printed in the United States of America

FIRST EDITION / First Printing / March 2012

Page 3: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

2

Table of Contents

Contents Chat with Your Instructor ................................................................................................................ 4

Lesson 9021C Introducing Windows Phone 7 and the Windows Phone Platform ......................... 5

Building Windows Phone 7 Applications ......................................................................................... 6

Windows Phone Exam 9021C .......................................................................................................... 7

Lesson 9022C Using Cloud Services As Data Stores ........................................................................ 9

Catching and Debugging Errors ..................................................................................................... 10

Windows Phone Exam 9022C ........................................................................................................ 11

Lesson 9023C Packaging, Publishing, and Managing Applications ............................................... 14

Working with the Accelerometer .................................................................................................. 15

Windows Phone Exam 9023C ........................................................................................................ 16

Lesson 9024C Application Bar ....................................................................................................... 19

WebBrowser Control ..................................................................................................................... 20

Windows Phone Exam 9024C ........................................................................................................ 21

Lesson 9025C Working with Controls and Themes ....................................................................... 24

Integrating Applications with the Windows Phone OS ................................................................. 25

Windows Phone Exam 9025C ........................................................................................................ 26

Lesson 9026C Creating Trial Applications...................................................................................... 29

Internationalization ....................................................................................................................... 30

Windows Phone Exam 9026C ........................................................................................................ 31

Lesson 9027C Isolated Storage ...................................................................................................... 34

Using Location Services ................................................................................................................. 35

Windows Phone Exam 9027C ........................................................................................................ 36

Lesson 9028C Media ...................................................................................................................... 39

Working with the Camera and Photos .......................................................................................... 40

Windows Phone Exam 9028C ........................................................................................................ 41

Lesson 9029C Push Notifications ................................................................................................... 43

Reactive Extensions for .NET ......................................................................................................... 44

Windows Phone Exam 9029C ........................................................................................................ 45

Page 4: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

3

Lesson 9030C Security ................................................................................................................... 48

Windows Phone Exam 9030C ........................................................................................................ 49

Page 5: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

4

Chat with Your Instructor

This Study Guide will offer some suggestions about how to cover the material in the

class. One of the things you should know, regardless of the class you are taking, is that

the instructor can’t be the sole repository of information for the class – and neither can

the textbook. Technology simply moves too quickly for that to be a viable option. There

is a whole Internet out there. Chances are, someone, somewhere has encountered

whatever problem you are having and has solved it. And chances are, someone who has

solved your problem has posted the solution on the web. It might not be the exact

solution, but it will get you moving toward solving the problem.

Having said that, the more vague an assignment is, the more you will learn from it. The

author of the text will walk you through building a prototypical app and then tell you to

“make it better.” The tutorial sections sprinkled throughout the chapters are very much

like this. We don’t want to inhibit you in any way if possible; we want you to think what

needs to be improved. Of course, there are always students who need more direction and

will need to be dealt with individually. But this is college. Students need to explore – not

be led by the nose step by step.

This book assumes that you have knowledge of basic programming practices. Truly, the

language doesn’t matter. However, you definitely don’t want to be learning at this time

how to write loops and conditionals. You’ll never get to the cool stuff! The exercises at

the end of Chapter 1 ensure that you have the prerequisite skills. If you can’t write these

programs, either review the course previous this one, or at least look into an Introductory

Programming class.

Students often learn from experimentation of the materials in the technology topics. For

this reason, there are many exercises that you can practice. These exercises may require

you to solve a problem, work through a new direction in technology, or even attempt to

predict the future. All of the topics and exercises are meant to be thought provoking and

to help you apply what you are learning.

Finally, you will the exams for each of the lessons. These are taken from the materials in

the book, and are not designed to be researched and answered through any resources you

may locate on the internet.

We wish you an enriching course experience and wish you all the best in your academic

endeavors.

Page 6: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

5

Lesson 9021C Introducing Windows Phone 7 and the Windows

Phone Platform

Overview

This chapter provides a general overview of Windows Phone features. It also discusses the

hardware specifications, the development platform, and the Marketplace. Much of the beginning

interaction with the emulator and the Windows Phone is based upon the topics introduced within.

Objectives

Overview of Windows Phone 7

Hardware specifications

Development platform

Marketplace for Windows Phone 7 apps

Lesson Assignments

Read Chapter 1

Read Study Guide for Lesson

If you have the resources available to you please complete the activities in the

chapter for it will benefit your learning potential. Continue to the next chapter for

the lesson exam.

Page 7: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

6

Building Windows Phone 7 Applications

Overview

In this chapter, you will learn how to set up your Windows Phone development

environment. You will build a simple Windows Phone 7 application using Visual Studio

2010. You will also learn how to interact with the phone emulator as well as learning

how to use Microsoft Expression Blend to style the application.

Objectives

Setup of Windows Phone development environment

Build simple Windows Phone 7 interface using Visual Studio 2010

Interact with the emulator

Use Microsoft Expression Blend to style the application

Lesson Assignments

Read Chapter 2.

Read Study Guide for Lesson

If you have the resources available to you please complete the activities in the

chapter for it will benefit your learning potential.

Submit the lesson exam.

Continue to the next chapter.

Page 8: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

7

Windows Phone Exam 9021C

Please complete the following exam. You may use the electronic grading system for

quicker response. Simply log on to www.study-electronics.com and enter your

credentials. Once the exam has been submitted, your results will be returned within 72

hours. You may also e-mail your answers to [email protected], or fax them to us at 1-

216-781-0331. If you have any questions, please contact the Instruction Department.

1. In Figure 1-6, the consumer must show interest before the Marketplace

Certification process can be completed.

(1) True (2) False

2. An additional application guide that is recommended to download and follow is

______________________?

(1) The AI Design and Interaction Guide

(2) The UI Design and International Guide

(3) The UI Design and Interaction Guide

(4) The AI Design and International Guide

3. The two major frameworks above the core .NET framework are

_________________?

(1) Silverlight and XNA

(2) Silverlight and XML

(3) Quicksilver and XNA

(4) Cloudservices and XAML

4. Minimum resolution for Windows Phone applications is ________________?

(1) 800 x 600

(2) 1024 x 760

(3) 640 x 480

(4) 800 x 480

5. Which of these is NOT part of the Windows Phone developer tools available from

MSDN ________________?

(1) XNA Game Studio

(2) Visual Studio 2010 Express

(3) Windows Phone Emulator

(4) Microsoft Expresso Blend

6. How many Windows Phone Visual Studio project templates are in Visual Studio

Express ___________________?

(1) 1

(2) 2

(3) 3

(4) It is unlimited in number

Page 9: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

8

7. While performing the tutorial in chapter 2, why did you set

HorizontalAlignment to Stretch?

(1) To automatically stretch the Textbox to fill the extra space when the phone is

rotated.

(2) Because it sounded like a good idea.

(3) It is a matter of good coding practice.

(4) All of the above.

8. You should debug your application before building the solution.

(1) True (2) False

9. You can use either Visual Studio or Microsoft Expression Blend 4 to design

XAML-based Silverlight interfaces, but the latter is better.

(1) True (2) False

10. According to Figure 2-2, the majority of the projects are written using ________?

(1) Visual Basic

(2) Visual C#

(3) Visual J

(4) XAML

11. Which button runs the application in the emulator?

(1) Start

(2) F5

(3) F1

(4) F12

12. What are the gradient colors set to in the tutorial?

(1) Blue-20%; Yellow-80%

(2) Blue-50%; Yellow-50%

(3) Blue-21%; Yellow-79%

(4) Blue-21%; Yellow-64%

13. The default icon for any Windows Phone application is _______________?

(1) ApplicationIcon.png

(2) ApplicationIcon.jpg

(3) ApplicationIcon.bmp

(4) ApplicationIcon.gif

14. By default, there are ________ Textblock Controls placed on the screen when you

start a project?

(1) 0

(2) 1

(3) 2

(4) 3

END OF EXAM

Page 10: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

9

Lesson 9022C Using Cloud Services As Data Stores

Overview

In this chapter, you build a Windows Phone 7 application that makes use of Microsoft’s Windows

Azure service to store data to an SQL server in the cloud. You also learn about making

applications scalable and fault-tolerant.

Objectives

Introduce Windows Azure service

Use Windows Azure service to store data to SQL could server

Create scalable and fault-tolerant applications

Lesson Assignments

Read Chapter 3

Read Study Guide for Lesson

If you have the resources available to you please complete the activities in the

chapter for it will benefit your learning potential. Continue to the next chapter for

the lesson exam.

Page 11: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

10

Catching and Debugging Errors

Overview

In this chapter, you will learn how to set up your Windows Phone development

environment. You will build a simple Windows Phone 7 application using Visual Studio

2010. You will also learn how to interact with the phone emulator as well as learning

how to use Microsoft Expression Blend to style the application.

Objectives

Catch and handle errors in application

Handle unexpected error in Windows Phone

Use debugger in Visual Studio to detect and correct errors

Lesson Assignments

Read Chapter 4

Read Study Guide for Lesson

If you have the resources available to you please complete the activities at the end

of the chapter for it will benefit your learning potential. Once you have completed

the exam continue to the next lesson.

Page 12: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

11

Windows Phone Exam 9022C

Please complete the following exam. You may use the electronic grading system for

quicker response. Simply log on to www.study-electronics.com and enter your

credentials. Once the exam has been submitted, your results will be returned within 72

hours. You may also e-mail your answers to [email protected], or fax them to us at 1-

216-781-0331. If you have any questions, please contact the Instruction Department.

1. You need to create and support the Enterprise-level n-tier deployment scenario as

shown in Figure 3-2.

(1) True (2) False

2. The more common 3-tier architecture does not allow for disaster recovery and

backup.

(1) True (2) False

3. The Microsoft Azure service provides a Service Level Agreement of ____ uptime.

(1) 90.95%

(2) 99.95%

(3) 100%

(4) 50% is the best they can do

4. What does MVVM stand for?

(1) Model-View-View Model

(2) Microsoft-View-View Modularity

(3) Multi-View-View Mobile

(4) Model-View-View Modularity

5. Which of the three Microsoft Azure features would you be less interested in when

building applications for the consumer marketplace?

(1) Azure SQL

(2) Windows Azure

(3) Windows Azure AppFabric

(4) You need all of them

6. The Entity Framework reduces the amount of interaction an application developer

would do with the database.

(1) True (2) False

Page 13: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

12

7. Which of the following statements is correct?

(1) By default, SQL Azure allows all access to the database until exceptions are

added.

(2) By default, SQL Azure denies all access to the database until exceptions are

added.

(3) By default, SQL Azure allows all access to the database until an IP address is

specified.

(4) By default, SQL Azure denies all access to the database until an IP address is

specified.

8. Which version of SQL Server is currently in use?

(1) SQL Server 2003 R4

(2) SQL Server 2005 R3

(3) SQL Server 2008 R2

(4) SQL Server 2010 R1

9. Microsoft Azure is a Cloud Service.

(1) True (2) False

10. WCF stands for ______________________________________?

(1) Windows Cannot Function

(2) Windows Communication Foundation

(3) Windows Control Function

(4) Windows Communication Function

11. Windows Phone 7 device is base on the _________, which is an iPod competitor

for playing audio and video?

(1) Zoom

(2) XAML

(3) Xoom

(4) Zune

12. The exception caught by the RootFrame_NavigationFailed method

would have occurred in the ______ of the application.

(1) MainPage

(2) MainFrame

(3) PrimaryPage

(4) DebuggingRegion

13. When the application throws an error, Visual Studio will stop the program

execution _______________.

(1) At the line before the error

(2) At the next line to be executed

(3) At the actual line of the error

(4) Where ever it thinks the error is

Page 14: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

13

14. All applications not handled specifically by a try-catch-finally block

method will end up in what method?

(1) Application-Unhandled Exception

(2) Application-Underhanded Exception

(3) Application-Unhandled Execution

(4) Application-Unhandled Exemption

15. The try-catch-finally block exception is also known as

________________?

(1) Root Function-Navigation Failed

(2) Root Frame-Navigation Failed

(3) Reserve Function-Navigation Failed

(4) Reserve Frame-Navigation Failed

16. When debugging, it is best to disable the screen time-out, especially if debugging

a complex program.

(1) True (2) False

17. When using the accelerometer in the demo, you add the assembly reference from

this folder in Solution Explorer ________________?

(1) Devices

(2) References

(3) Framework

(4) Sensors

18. The assembly reference for the accelerometer in the demo is Microsoft

Phone Reactive.

(1) True (2) False

19. The figure on page 112 is due to an unregistered device.

(1) True (2) False

20. The cable necessary to connect the Windows Phone to a PC is _____________?

(1) Serial

(2) Parallel

(3) Firewire

(4) USB

END OF EXAM

Page 15: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

14

Lesson 9023C Packaging, Publishing, and Managing Applications

Overview

In this chapter, you will learn how to set up your Windows Phone development environment. You

will build a simple Windows Phone 7 application using Visual Studio 2010. You will also learn

how to interact with the phone emulator as well as learning how to use Microsoft Expression

Blend to style the application.

Objectives

Windows Phone Marketplace certification

Package applications to produce XAP file

Submit application through Windows Phone development portal

Lesson Assignments

Read Chapter 5

Read Study Guide for Lesson

If you have the resources available to you please complete the activities in the

chapter for it will benefit your learning potential. Continue to the next chapter for

the lesson exam.

Page 16: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

15

Working with the Accelerometer

Overview

In this chapter, you will learn how to set up your Windows Phone development environment. You

will build a simple Windows Phone 7 application using Visual Studio 2010. You will also learn

how to interact with the phone emulator as well as learning how to use Microsoft Expression

Blend to style the application.

Objectives

Investigate fundamentals of the accelerometer

Capture data to display in user interface

Capture data to calculate speed and position of items on screen

Lesson Assignments

Read Chapter 6

Read Study Guide for Lesson

If you have the resources available to you please complete the activities at the end of the

chapter for it will benefit your learning potential. Once you have completed the exam

continue to the next lesson.

Page 17: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

16

Windows Phone Exam 9023C

Please complete the following exam. You may use the electronic grading system for quicker

response. Simply log on to www.study-electronics.com and enter your credentials. Once the

exam has been submitted, your results will be returned within 72 hours. You may also e-mail

your answers to [email protected], or fax them to us at 1-216-781-0331. If you have any

questions, please contact the Instruction Department.

1. You do not need to be registered with the Windows Phone Marketplace to publish

a trial application.

(1) True (2) False

2. The languages supported are _______________?

(1) English only

(2) English and Spanish

(3) English, Spanish, French, Italian and German

(4) English, Spanish, Japanese, French, Italian and German

3. The length of time from launch to first screen has to be _________________?

(1) no more than five seconds

(2) no more than twenty seconds

(3) no more than thirty seconds

(4) as long as it takes

4. This time frame applies even if the application is closed or restarted.

(1) True (2) False

5. The application cannot use more than 90MB of RAM.

(1) True (2) False

6. The application should contain the application name and technical support

information.

(1) True (2) False

7. When submitting an application for publishing, the price set is _____________?

(1) $0.99 (USD)

(2) a fair market price

(3) based upon currency exchange rates

(4) whatever the developer decides

8. If you update the application, all users must pay the purchase price for the newer

application.

(1) True (2) False

Page 18: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

17

9. When you update the application it must go through the certification process

again.

(1) True (2) False

10. Both a category and a sub-category are necessary when submitting an application

for publishing.

(1) True (2) False

11. Which axis would be used if you were moving the phone closer to you or farther

away from you?

(1) ± x

(2) ± z

(3) ± y

(4) All of them

12. The direction of + or – is dependent on the orientation of the phone during

movement.

(1) True (2) False

13. You cannot run the accelerometer demo in the tutorial from chapter 6 without an

actual Windows Phone.

(1) True (2) False

14. The accelerometer runs on the same thread as the current UI runs.

(1) True (2) False

15. Excessive use of the accelerometer will quickly deplete the battery.

(1) True (2) False

16. The formula for yaw is _______________________?

Page 19: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

18

17. Yaw, pitch and roll are ________________?

(1) Orientation on the x, y and z axis

(2) Movement along the x, y and z axis

(3) Tilt motions translated into x, y and z coordinates

(4) All of the above

18. The Euclidean distance algorithm is solved by subtracting the new accelerometer

data from the old accelerometer data.

(1) True (2) False

19. The code for updating the accelerometer thread is ________________________?

(1) Deployment.Current.Dispatcher.BeginInvoke

(2) Deployment.Previous.Dispatcher.BeginInvoke

(3) Deployment.Current.Dispatcher.EndInvoke

(4) Deployment.Previous.Dispatcher.EndInvoke

20. The symbol for roll is __________?

(1) ρ

(2) θ

(3) φ

(4) β

END OF EXAM

Page 20: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

19

Lesson 9024C Application Bar

Overview

In this chapter, you will learn how to set up your Windows Phone development environment. You

will build a simple Windows Phone 7 application using Visual Studio 2010. You will also learn

how to interact with the phone emulator as well as learning how to use Microsoft Expression

Blend to style the application.

Objectives

Use XAML or managed code to Add Application Bar with buttons and menus

Basic guidelines for Application Bar development

Code creation for reaction to Application Bar button and menu events

Lesson Assignments

Read Chapter 7

Read Study Guide for Lesson

If you have the resources available to you please complete the activities in the

chapter for it will benefit your learning potential. Continue to the next chapter for

the lesson exam.

Page 21: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

20

WebBrowser Control

Overview

In this chapter, you will learn how to set up your Windows Phone development environment. You

will build a simple Windows Phone 7 application using Visual Studio 2010. You will also learn

how to interact with the phone emulator as well as learning how to use Microsoft Expression

Blend to style the application.

Objectives

Use WebBrowser control to search for web content in an application

Use WebBrowser control to display web content to the application

Store and retrieve web and HTML content from locally contained information

Basic understanding if the viewport and custom IE Mobile CSS elements

Lesson Assignments

Read Chapter 8

Read Study Guide for Lesson

If you have the resources available to you please complete the activities at the end of the

chapter for it will benefit your learning potential. Once you have completed the exam

continue to the next lesson.

Page 22: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

21

Windows Phone Exam 9024C Please complete the following exam. You may use the electronic grading system for quicker

response. Simply log on to www.study-electronics.com and enter your credentials. Once the

exam has been submitted, your results will be returned within 72 hours. You may also e-mail

your answers to [email protected], or fax them to us at 1-216-781-0331. If you have any

questions, please contact the Instruction Department.

1. The maximum size of an Application Bar icon is ________________?

(1) 26 x 26

(2) 48 x 48

(3) 24 x 24

(4) No limit: set by user

2. The default location for the icons used in the Windows 7 Application Bar is stored

in the ________ folder.

(1) %Program Files\Microsoft\Windows Phone\v7.0\Icons

(2) %Program Files\Microsoft\SDKs\Windows Phone\v7.0\Icons

(3) %Program Files\Microsoft SDKs\Windows Phone\v7.0\Icons

(4) %Program Files\Microsoft SDKs\Windows Phone\v7.0\Image

3. There is only one way to define a local Application Bar.

(1) True (2) False

4. There is only one way to define a global Application Bar.

(1) True (2) False

5. The coding shortcut on page 170 is the only way to generate event handler

code(s).

(1) True (2) False

6. The Opacity property of an Application Bar can be varied from ____________?

(1) 0 to 10

(2) -1 to 1

(3) -10 to 10

(4) 0 to 1

7. There are several steps to writing code that reacts to Application Bar events.

(1) True (2) False

8. The addition of a circle around each Application Bar icon is automatic.

(1) True (2) False

Page 23: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

22

9. Microsoft recommends that you use custom colors on the Application Bar for

visual appeal and individual preferences.

(1) True (2) False

10. “Glue code” links the Application Bar button or menu item click to the “worker

function.”

(1) True (2) False

11. Cookies can be shared between applications with Internet Explorer Mobile in

order to save space.

(1) True (2) False

12. By default, script is disabled in the Windows Phone WebBrowser control. The

developer must explicitly set the _________ property of the control to enable it.

(1) ScriptIsEnabled

(2) IsScriptEnabled

(3) IsScriptOn

(4) ScriptIsOn

13. The property of –ms-text-size-adjust that controls the size of the text

displayed on the screen is a ________ command.

(1) HTML

(2) XAML

(3) C#

(4) None of the above

14. Content loaded from Isolated Storage or via the NavigateToString method

is not subject to cross-domain.

(1) True (2) False

15. You can use dynamic HTML webpages in Windows Phone 7 applications.

(1) True (2) False

16. The ability to download and install ActiveX controls has been prevented in

Windows Phone 7.

(1) True (2) False

17. It is possible to display both local and dynamic HTML-formatted content on

Windows Phone 7 through the use of the WebBrowser control.

(1) True (2) False

18. The Height and Width properties on a WebBrowser control, when it is dropped on

the Windows Phone design surface, have a default of auto.

(1) True (2) False

Page 24: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

23

19. The SaveToString method saves ________________?

(1) Images

(2) CSS files

(3) HTML code

(4) All of the above

20. Websites will always look the same in both the desktop version of Internet

Explorer and the Windows Phone 7 Mobile browser.

(1) True (2) False

END OF EXAM

Page 25: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

24

Lesson 9025C Working with Controls and Themes

Overview

In this chapter, you will learn how to set up your Windows Phone development environment. You

will build a simple Windows Phone 7 application using Visual Studio 2010. You will also learn

how to interact with the phone emulator as well as learning how to use Microsoft Expression

Blend to style the application.

Objectives

Introduce basic concepts of Metro design system

Detect theme being used

Create theme-aware applications

Navigate between pages within the application

Examine basic interaction with Panorama, Pivot, PhoneApplicationFrame and

PhoneApplicationPage controls

Enhance user interaction via Tilt affects in the application

Lesson Assignments

Read Chapter 9

Read Study Guide for Lesson

If you have the resources available to you please complete the activities in the

chapter for it will benefit your learning potential. Continue to the next chapter for

the lesson exam.

Page 26: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

25

Integrating Applications with the Windows Phone OS

Overview

In this chapter, you will learn how to set up your Windows Phone development environment. You

will build a simple Windows Phone 7 application using Visual Studio 2010. You will also learn

how to interact with the phone emulator as well as learning how to use Microsoft Expression

Blend to style the application.

Objectives

Integration of applications through interaction with Windows Phone OS

Utilize launchers and choosers to accomplish common tasks on the platform

Observe affect launchers and choosers have on state of application in use

Review application life cycle and managing state within life cycle

Lesson Assignments

Read Chapter 10

Read Study Guide for Lesson

If you have the resources available to you please complete the activities at the end of the

chapter for it will benefit your learning potential. Once you have completed the exam

continue to the next lesson.

Page 27: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

26

Windows Phone Exam 9025C Please complete the following exam. You may use the electronic grading system for quicker

response. Simply log on to www.study-electronics.com and enter your credentials. Once the

exam has been submitted, your results will be returned within 72 hours. You may also e-mail

your answers to [email protected], or fax them to us at 1-216-781-0331. If you have any

questions, please contact the Instruction Department.

1. The Silverlight for Windows Phone Toolkit is a proprietary product of Microsoft.

(1) True (2) False

2. The Pivot control outfitting and use are nearly identical to the Panorama Control.

(1) True (2) False

3. To suppress the Tilt effect on any control you would add the ______ attribute to

that control.

(1) local:TiltEffect.Suppress=“False”

(2) local:TiltEffect.StopTilt=”True”

(3) local:TiltEffect.SuppressTilt=”True”

(4) local:TiltEffect.StopTilt=”False”

4. The difference between the Pivot control and the Panorama control is the _____.

(1) ability to click the header to show content of a page with a Panorama control.

(2) ability to click the footer to show content of a page with a Pivot control.

(3) ability to click the header to show content of a page with a Pivot control.

(4) there is no difference.

5. How many frames are available to a Windows Phone 7 application?

(1) One

(2) Two

(3) As many as needed

(4) None

6. Microsoft recommends no more than ______ PanoramaItem to ensure smooth

application performance.

(1) Three

(2) Six

(3) Four

(4) One

Page 28: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

27

7. ______ is like a scroll while ______ is like a series of cards laid down from left to

right.

(1) Panorama, Pivot

(2) Pivot, Panorama

(3) Panama, Pivot

(4) Pivot, Panorama

8. It is possible to create an application that is theme aware.

(1) True (2) False

9. How many different screen orientations does Windows Phone 7 support?

(1) Two

(2) Three

(3) Four

(4) Depends on the direction it is held: possible limitless

10. The application bar is limited to ______ icons.

(1) Two

(2) Four

(3) Six

(4) Eight

11. The execution environment that third party applications are run in is known as the

______.

(1) Tool box (3) Sand box

(2) Toy box (4) Litter box

12. A set if Application Programming Interface tasks can be referred to as ______

and ______.

(1) Launchers, Companions (3) Launchers, Choosers

(2) Loungers, Choosers (4) Loungers, Companions

13. This allows users to make phone calls from an application

(1) PhoneNumberChooserTask

(2) SavePhoneNumberTask

(3) PhoneCallTask

(4) SearchTask

14. The concept of state management is called _______.

(1) Lodestoning (3) Tombstoning

(2) Sandstoning (4) Landslide

Page 29: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

28

15. The guideline from Microsoft states that within the Application Launching event

there should not be any isolated storage access or web-service calls. Instead, they

recommend the application ______ loads values from the isolated storage.

(1) Synchronously (3) Either (1) or (2)

(2) Asynchronously (4) Neither (1) or (2)

16. The Sharepoint Workspace Mobile application is pre-installed and located in the

exact same place on every Windows Phone 7 Device.

(1) True (2) False

17. Being registered with the Windows Phone Marketplace means that the developer

is registered with Facebook.

(1) True (2) False

18. Which of these launchers and choosers does not automatically tombstone the

calling application?

(1) EmailComposeTask (3) EmailAddressChooserTask

(2) SaveEmailAddressTask (4) SearchTask

19. Data that should be saved to a persistent data store will only occur when the

closing event fires.

(1) True (2) False

20. LinkedIn uses the same protocol for third-party application authentication and

authorization as Facebook.

(1) True (2) False

END OF EXAM

Page 30: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

29

Lesson 9026C Creating Trial Applications

Overview

In this chapter, you will learn how to set up your Windows Phone development environment. You

will build a simple Windows Phone 7 application using Visual Studio 2010. You will also learn

how to interact with the phone emulator as well as learning how to use Microsoft Expression

Blend to style the application.

Objectives

Investigate Windows Phone 7 trial modes

Understand code base for trial and production applications

Control trial versus production versions through use of IsTrial method

Simulate trial mode in order to better prepare for creating trial applications

Lesson Assignments

Read Chapter 11

Read Study Guide for Lesson

If you have the resources available to you please complete the activities in the

chapter for it will benefit your learning potential. Continue to the next chapter for

the lesson exam.

Page 31: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

30

Internationalization

Overview

In this chapter, you will learn how to set up your Windows Phone development

environment. You will build a simple Windows Phone 7 application using Visual Studio

2010. You will also learn how to interact with the phone emulator as well as learning

how to use Microsoft Expression Blend to style the application.

Objectives

Prepare applications for launch in other areas beyond USA boundaries

Utilize stored cultural information as well as ToString function to determine

optimal display output

Use ISO cultural codes to reset an application’s CulturalInfo object to the

preferred language and country environment of the user

Employ resource files to provide translated versions of field names, documentation

and media

Lesson Assignments

Read Chapter 12

Read Study Guide for Lesson

If you have the resources available to you please complete the activities at the end

of the chapter for it will benefit your learning potential. Once you have completed

the exam continue to the next lesson.

Page 32: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

31

Windows Phone Exam 9026C Please complete the following exam. You may use the electronic grading system for quicker

response. Simply log on to www.study-electronics.com and enter your credentials. Once the

exam has been submitted, your results will be returned within 72 hours. You may also e-mail

your answers to [email protected], or fax them to us at 1-216-781-0331. If you have any

questions, please contact the Instruction Department.

1. Trial applications have expiration dates established by Microsoft.

(1) True (2) False

2. What is the error code the emulator will return to simulate a successful show

method for the Windows Phone Marketplace application.

(1) 70070057 (3) 80070057

(2) 707057 (4) 807057

3. The field type for the field named lstConvertTo is ______.

(1) TextBox (3) Button

(2) TextBlock (4) ListBox

4. The tutorial in this chapter has you implement your own mock version of the

LicenseClass class.

(1) True (2) False

5. When using the Ix Trial method in application development, the developer needs

to set the value to true.

(1) True (2) False

6. Reflector.NET is available as a download from Microsoft, but now has a fee

associated with it.

(1) True (2) False

7. The nickname for the page that prompts the user to upgrade to a full version from

the trial version is called the “______” page.

(1) nag (3) end trial

(2) update (4) install

8. When building the UI for the Currency Converter application you will create

______ pages.

(1) Two (3) Four

(2) Three (4) Only one page is necessary

9. There is no need to differentiate between the License Information class of the fake

version of the tutorial and the real one from Microsoft.

(1) True (2) False

Page 33: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

32

10. For the purpose of allowing users to switch from a trial version to a full license,

the differences between the classes of Marketplace Detail Task and Marketplace

Review Task are very small.

(1) True (2) False

11. The adoption of the international standard for time (ISO 8501) would avoid

misinterpretation of numeric dates.

(1) True (2) False

12. You should always represent dates or numbers as strings and barcode the

formatting of these strings in your application if hoping to gain a place in the

international marketplace.

(1) True (2) False

13. Ensuring that all commonly used application concepts are properly used and

represented regardless of the user’s locale is known as ______.

(1) Localization (3) Locale Aware

(2) Globalization (4) Integration

14. The hierarchal arrangement for the three types of cultures all Windows Phone

developers must be aware of is________________________________?

(1) (3)

(2) (4)

15. To set the culture in Windows Phone 7, you would adjust the ______ settings on

both the emulator and the phone.

(1) settings Culture (3) settings Region and Language

(2) settings Locale (4) settings User Preferences

16. The NET Framework referred to throughout the chapter is really a compact

version abbreviated NETCV.

(1) True (2) False

Specific Cultures

Neutral Cultures

Invariant Cultures

Specific Cultures

Neutral Cultures

Invariant Cultures

Invariant Cultures

Neutral Cultures

Specific Cultures

Invariant Cultures

Neutral Cultures

Specific Cultures

Page 34: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

33

17. A benefit of using resx files is that Windows Phone 7 will find and use the

resource files appropriate for the users locale based upon the current user culture

settings automatically.

(1) True (2) False

18. One of the disadvantages of using .resx files is that they are not easily

parseable.

1. True (2) False

19. The culture setting of en-us represents:

(1) enabled for U.S. operation (2) registered entity for U.S. networks

(3) English language and U.S. locale (4) enhanced operation in the U.S.

20. The number 2,365.97 in the United States would be written the same way in

Europe.

(1) True (2) False

END OF EXAM

Page 35: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

34

Lesson 9027C Isolated Storage

Overview

In this chapter, you will learn how to set up your Windows Phone development environment. You

will build a simple Windows Phone 7 application using Visual Studio 2010. You will also learn

how to interact with the phone emulator as well as learning how to use Microsoft Expression

Blend to style the application.

Objectives

Save application data using isolated storage files or isolated storage settings

Investigate procedures to create, read, update and delete isolated storage files

Lesson Assignments

Read Chapter 13

Read Study Guide for Lesson

If you have the resources available to you please complete the activities in the

chapter for it will benefit your learning potential. Continue to the next chapter for

the lesson exam.

Page 36: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

35

Using Location Services

Overview

In this chapter, you will learn how to set up your Windows Phone development

environment. You will build a simple Windows Phone 7 application using Visual Studio

2010. You will also learn how to interact with the phone emulator as well as learning

how to use Microsoft Expression Blend to style the application.

Objectives

Initiate the location service to receive position data via longitude and latitude

coordinates

Pass position data into Bing Maps control

Use Bing Maps control and Bing Maps layer to indicate current GPS position

Utilize Bing Maps geocode service to plot address location on map by converting

address to geo-coordinates

Lesson Assignments

Read Chapter 14

Read Study Guide for Lesson

If you have the resources available to you please complete the activities at the end

of the chapter for it will benefit your learning potential. Once you have completed

the exam continue to the next lesson.

Page 37: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

36

Windows Phone Exam 9027C

Please complete the following exam. You may use the electronic grading system for

quicker response. Simply log on to www.study-electronics.com and enter your

credentials. Once the exam has been submitted, your results will be returned within 72

hours. You may also e-mail your answers to [email protected], or fax them to us at 1-

216-781-0331. If you have any questions, please contact the Instruction Department.

1. Isolated storage refers to memory location(s) (or cloud service) where Windows

Phone 7 can store and access data.

(1) True (2) False

2. Using the Remove method in Isolated File Storage can be used without

worry or warning as it only delete the most recent directories and files.

(1) True (2) False

3. An application that is using isolated storage can access file systems used by

operating system itself.

(1) True (2) False

4. An isolated storage file will perform much better that isolated storage settings

because a file cannot be streamed in and out of the isolated storage settings as

StreamWriter and StreamReader.

(1) True (2) False

5. When using isolated files, you need to use the file stream to save and retrieve the

data, and you must be careful to ______ the stream after each use.

(1) re-establish (3) delegate

(2) dispose (4) deprecate

6. In order to create a sub-directory, you must create a directory path string and pass

it to the ______.

(1) CreateChannel (3) CreatePath

(2) CreateDirectory (4) CreateNameSpace

7. System.IO.Path.Namespace provides a great way to combine directory

paths and files without worrying if the backslashes and properly added.

(1) True (2) False

8. The wild card character for searching combined directory paths or files is ___.

(1) & (3) %

(2) * (4) ?

Page 38: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

37

9. The portion of the tutorial in the chapter that initializes the application uses the

_____ method to retrieve items from isolated storage and bind them to the

previously created Listbox.

(1) BindToShillFile (3) BindToShellToast

(2) BindKeyList (4) None of the above

10. When specifying the Namespaces in the tutorial

System.IO.IsolatedStorage and System.IO contain the APIs needed

to work with the isolated file storage.

(1) True (2) False

11. Location aware applications are not a good idea as only the newest Windows

Phone devices are equipped with GPS receivers.

1. True (2) False

12. You can put a place holder and dynamically change the content of the Pushpin.

(1) True (2) False

13. Because you are using an emulator on a computer, there is no need to simulate a

GPS receiver.

(1) True (2) False

14. The portion of the chapter that deals with the Bing Maps Control will only work if

you have an actual Windows Phone 7 device; it cannot be simulated.

(1) True (2) False

15. A registered Windows Phone developer would not need to register with Bing

Maps since they are both Microsoft affiliates.

(1) True (2) False

16. It is possible to add any type of control and change the appearance of the

Pushpin.

(1) True (2) False

17. What is the name of the control that will allow the developer to manipulate Bing

Maps Control?

(1) Bing.Maps.Control (3) Bing Maps Control

(2) Microsoft Maps Control (4) Microsoft.Maps.Control

18. In the chapter tutorial, you set the variable for the Movement Threshold to ______

meters.

(1) 1,000 (3) 100

(2) 50 (4) 500

Page 39: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

38

19. What are the CopyrightVisibility and LogoVisibility set to for

more needed real estate on the screen?

(1) True (3) Visible

(2) False (4) Collapsed

20. ______ provides step-by-step navigation.

(1) SearchService (3) RouteService

(2) GeoCodeService (4) MapService

END OF EXAM

Page 40: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

39

Lesson 9028C Media

Overview

In this chapter, you will learn how to set up your Windows Phone development

environment. You will build a simple Windows Phone 7 application using Visual Studio

2010. You will also learn how to interact with the phone emulator as well as learning

how to use Microsoft Expression Blend to style the application.

Objectives

Stream media content from Web or resource of application

Play video and audio using MediaElement and MediaPlayerLauncher

Apply basic sound effects using MediaElement

Lesson Assignments

Read Chapter 15

Read Study Guide for Lesson

If you have the resources available to you please complete the activities in the

chapter for it will benefit your learning potential. Continue to the next chapter for

the lesson exam.

Page 41: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

40

Working with the Camera and Photos

Overview

In this chapter, you will learn how to set up your Windows Phone development

environment. You will build a simple Windows Phone 7 application using Visual Studio

2010. You will also learn how to interact with the phone emulator as well as learning

how to use Microsoft Expression Blend to style the application.

Objectives

Work with photos using choosers to take pictures and load previously saved pictures

Explore XNA Framework and how it works with Media Library

Investigate integration options available between built-in applications native to

Windows Phone 7 and created app

Upload new pictures to TwitPic (Twitter)

Lesson Assignments

Read Chapter 16

Read Study Guide for Lesson

If you have the resources available to you please complete the activities at the end

of the chapter for it will benefit your learning potential. Once you have completed

the exam continue to the next lesson.

Page 42: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

41

Windows Phone Exam 9028C

Please complete the following exam. You may use the electronic grading system for

quicker response. Simply log on to www.study-electronics.com and enter your

credentials. Once the exam has been submitted, your results will be returned within 72

hours. You may also e-mail your answers to [email protected], or fax them to us at 1-

216-781-0331. If you have any questions, please contact the Instruction Department.

1. Which one of these is not an audio format?

(1) WAV (3) WMA

(2) WMV (4) MP3

2. The only way to mute the media player is to set the property of IsMuted to true.

(1) True (2) False

3. If you set player.Location to MediaLocationType.Install then the media

file must be added to the application as the content.

(1) True (2) False

4. Which of these files is not part of the UI for the tutorial?

(1) Robot.xaml (3) sound18.wma

(2) Robot.xaml.cs (4) RobotSoundDemo

5. When adding sound to an application, it is always better to download the contents

from the web rather than to prepare the sounds in the application.

(1) True (2) False

6. Use of MediaElement.Position allows you to create chapters and jump to

them in a manner similar to a DVD movie.

(1) True (2) False

7. If the application developer only requires simple media player function, he/she/

should use MediaElement rather than the built-in media player for better

results.

(1) True (2) False

8. When adding video to an application, it is always better to download the contents

from the web rather than to package the video in the application.

(1) True (2) False

9. MP3 and MP4 files are audio files only.

(1) True (2) False

Page 43: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

42

10. If the application will play music, the developer needs to include provisions to

check for already playing music and get user permission to allow the application

to interrupt this music.

(1) True (2) False

11. It is a good idea to have an actual Windows Phone 7 device to test the concepts of

the chapter.

(1) True (2) False

12. Launchers return data to the calling function while choosers do not.

(1) True (2) False

13. Windows Phone 7 platform does not supply a mechanism for storing photos.

(1) True (2) False

14. The PartPic API is sensitive to even slightly malformed messages so it is

always best to manually type the code very carefully.

(1) True (2) False

15. Which launcher opens the messaging application?

(1) EmailComposeTask (3) SMSComposeTask

(2) PhoneCallTask (4) CameraCaptureTask

16. Which of these allows the application to take a picture?

(1) Web Browser Tasks (3) Photo Closer Task

(2) Media Player Launcher (4) Camera Capture Task

17. The principles outlined in this chapter can be used on Window Phone devices

with multitasking capabilities.

(1) True (2) False

18. The sections about using Extras and using Share can still be emulated, albeit not

very well.

(1) True (2) False

19. It is possible to emulate the uploading of a picture to TwitPic.

(1) True (2) False

20. The Windows 7 Framework encourages a developer to make use of the built-in

phone applications whenever possible.

(1) True (2) False

END OF EXAM

Page 44: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

43

Lesson 9029C Push Notifications

Overview

In this chapter, you will learn how to set up your Windows Phone development environment. You

will build a simple Windows Phone 7 application using Visual Studio 2010. You will also learn

how to interact with the phone emulator as well as learning how to use Microsoft Expression

Blend to style the application.

Objectives

Introduction to and background on push notification services

Implement all three types of push notifications: toast, tile and raw

Complete push notifications life cycle through implementation of an example WCF

service to keep track of and broadcast a message to all connected clients

Lesson Assignments

Read Chapter 17

Read Study Guide for Lesson

If you have the resources available to you please complete the activities in the

chapter for it will benefit your learning potential. Continue to the next chapter for

the lesson exam.

Page 45: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

44

Reactive Extensions for .NET

Overview

This chapter provides a general overview of Windows Phone features. It also discusses

the hardware specifications, the development platform, and the Marketplace. Much of the

beginning interaction with the emulator and the Windows Phone is based upon the topics

introduced within.

Objectives

General overview of Reactive Extensions for .NET and implementation of the

Observer pattern

Features of Rx.Net

Event representation as Observable data sources

Concurrent asynchronous processing and error handling

Marble Diagrams and guidelines for building Rx.NET applications

Techniques for managing unreliable data links

Principles of cancellation of in-flight operations using the Rx.NET framework

Lesson Assignments

Read Chapter 18

Read Study Guide for Lesson

If you have the resources available to you please complete the activities at the end

of the chapter for it will benefit your learning potential. Once you have completed

the exam continue to the next lesson.

Page 46: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

45

Windows Phone Exam 9029C

Please complete the following exam. You may use the electronic grading system for

quicker response. Simply log on to www.study-electronics.com and enter your

credentials. Once the exam has been submitted, your results will be returned within 72

hours. You may also e-mail your answers to [email protected], or fax them to us at 1-

216-781-0331. If you have any questions, please contact the Instruction Department.

1. Which of these is not a push notification?

(1) Toast (3) Raw

(2) Tile (4) Ling

2. The concept of pushing is analogous to sending information.

(1) True (2) False

3. The receipt of push notifications is department upon the battery level of the

Windows Phone device.

(1) True (2) False

4. What is the maximum number of push notification channels?

(1) One (3) Ten

(2) Fifteen (4) There is no limit

5. A Windows Phone device has a limitation of 500 push notifications per

subscription channel per day on authenticated web services.

(1) True (2) False

6. A self-hosted service means that it will be hosted within the Windows Forms

application and the developer will write code to initialize and start the service.

(1) True (2) False

7. According to the text, Microsoft discourages the use of remote images for tiles by

limiting the image size to 80 kB as well as emphasizing possible excess battery

drain.

(1) True (2) False

8. For a toast notification, a developer must create a client application to create the

notification channel and a form application to send the notification.

(1) True (2) False

9. If your application receives toast notifications, it must ask the user for permission

as well as allow user disabling of such notifications per _______ Requirements.

(1) Microsoft Location Service

(2) Microsoft Push Notification Service

(3) Microsoft Application Certification

(4) Microsoft Intermediate Language

Page 47: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

46

10. The time limit for testing secure communications between the Windows Phone 7

application and the cloud service via Push notification is ______ months.

(1) One (3) Three

(2) Two (4) Four

11. As a developer, you have no options to utilize the latest version of Rx.NET.

(1) True (2) False

12. Rx.NET was developed for concurrent and asynchronous programming on all

Windows Phone devices.

(1) True (2) False

13. Rx.NET uses observable ______ to enable the composition of asynchronous and

event driven programs.

(1) collisions (3) collection

(2) collusions (4) collaborations

14. Lambda expressions are simply stated functions that differ from the “normal” C#

functions in their syntax

(1) True (2) False

15. The design guidelines for Rx.NET are available at

http://go.microsoft.com/fwlink/______________.

(1) ?LinkID=206219 (3) ?LinkID=205219

(2) ?LinkID=207219 (4) ?LinkID=205210

16. The latest libraries for Rx.NET are located in the Microsoft Data Developer

Center at http://msdn.microsoft.com/en-us/data/___________.

(1) gg577609 (3) dg577609

(2) fg577609 (4) gg577608

17. To use Rx.NET, there are five basic steps that you have to follow to designate

observables and create observers.

(1) True (2) False

18. A developer can use Rx.NET to schedule two things: (1) how the subscription

will execute and (2) how the notification will be published. These are controlled

by the ______ and ______ extension methods.

(1) SubscribeOn(),ActionOn()

(2) SubcultureOn(),ObserveOn()

(3) SubscribeOn(),ObserveOn()

(4) SubcultureOn(),ActionOn()

Page 48: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

47

19. The weather application in the chapter tutorial will consist of asynchronously

capturing user input and synchronously calling the web service to display the

current weather for the user’s location.

(1) True (2) False

20. The weather web service used in the tutorial is _______.

(1) www.weather.com (3) www.webservice.com

(2) www.webservice.net (4) www.weather.net

END OF EXAM

Page 49: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

48

Lesson 9030C Security

Overview

In this chapter, you will learn how to set up your Windows Phone development

environment. You will build a simple Windows Phone 7 application using Visual Studio

2010. You will also learn how to interact with the phone emulator as well as learning

how to use Microsoft Expression Blend to style the application.

Objectives

Learn about the facilities Windows Phone 7 platform provides to secure data in transit

and on devices

Investigate the rigorous testing it uses to confirm the identity of application developer

Making code unreadable to various tools (Ildasm and Reflector are two such

packages employed)

Examine the security provided by the device itself that allows users to remotely

locate, ring or erase all data from the phone

Lesson Assignments

Read Chapter 19

Read Study Guide for Lesson

If you have the resources available to you please complete the activities at the end

of the chapter for it will benefit your learning potential.

Submit the lesson exam.

Page 50: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

49

Windows Phone Exam 9030C

Please complete the following exam. You may use the electronic grading system for

quicker response. Simply log on to www.study-electronics.com and enter your

credentials. Once the exam has been submitted, your results will be returned within 72

hours. You may also e-mail your answers to [email protected], or fax them to us at 1-

216-781-0331. If you have any questions, please contact the Instruction Department.

1. Non-repudiation as a concept refers to not being able to guarantee that the

application came from the source it claims to have come from.

(1) True (2) False

2. Any application designed for Windows Phone 7 can be operated without a license

key unless otherwise specified by the developer.

(1) True (2) False

3. Updates to already existing applications do not need to go through the same

certification process new applications do.

(1) True (2) False

4. This key allows the developer to use the computer keyboard on the emulator

instead of the mouse.

(1) Page Dn (3) Down arrow

(2) Page Up (4) Up arrow

5. Referring to question 4, this key allows the developer to return to the emulator

keyboard (mouse).

(1) Down arrow (3) Page Dn

(2) Page Up (4) Up arrow

6. It is possible to get a “Permission Denied” error as a developer if you are saving a

file in a folder you have permission to write to.

(1) True (2) False

7. It is not safe to store passwords or salt values in the application code.

(1) True (2) False

8. The A in AES stands for____________________

(1) Asynchronous (3) Advanced

(2) Atypical (4) Actual

9. Obfuscation refers to the ability to clearly read passwords and salt values stored

as code.

(1) True (2) False

Page 51: Introduction to Database Management...0 cleveland institute of electronics introduction to windows phone 7 lessons 9021c through 9030c

50

10. To successfully pass windows Phone Marketplace criteria applications must not

implement any security-critical code, nor can it invoke native code via PInvoke or

COM interoperability.

(1) True (2) False

END OF EXAM