Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 538 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
538
Dung lượng
14,45 MB
Nội dung
[...]... framework was subsequently ported to WindowsPhone Once you have installed the WindowsPhone developer tools, you can start to build your first WindowsPhone application 15 CHAPTER 2 BUILDING WINDOWSPHONE APPLICATIONS Building Your First WindowsPhone Application In this section, you’ll build a simple Hello World application using the Silverlight framework Creating the application will provide you with... INTRODUCING WINDOWSPHONE AND THE WINDOWSPHONE PLATFORM Application Development Life Cycle It’s important to understand the application development life cycle helps you prepare for it In-depth discussion of the application development life cycle, including the certification process, is provided in Chapter 5 Figure 1-6 shows a high-level view of the development life cycle of a WindowsPhone application... more WindowsPhone devices You can find more information on the release of new Windows phones at www.microsoft.com/windowsphone/en-us/buy/7/phones.aspx In the next section, you will learn how the software behind these powerful consumer smartphones provides a great platform for developers WindowsPhone Application Platform Microsoft did not invent any new languages or frameworks for the WindowsPhone application... work as well • The WindowsPhone emulator: This is used to run and test the WindowsPhone application • Silverlight for Windows Phone: This is the Silverlight framework for Windows Phone, based on Silverlight 3 technology See Chapter 1 for a description of the subtle differences between Silverlight 3 and the WindowsPhone Silverlight framework • Microsoft Expression Blend for Windows Phone: This tool... the WindowsPhone controls 13 CHAPTER 2 Building WindowsPhone Applications This chapter will prepare you with everything you need to get started with Windows Phonedevelopment You will learn about the WindowsPhone emulator, Visual Studio 2010 Express, and Microsoft Expression Blend 4 You will use these tools to create your first WindowsPhone application Before you can write your first application,... leave complex graphics and animations to Expression Blend 8 CHAPTER 1 INTRODUCING WINDOWSPHONE AND THE WINDOWSPHONE PLATFORM Figure 1-4 Microsoft Expression Blend 4 for Windows PhoneWindowsPhone Emulator The WindowsPhone emulator, shown in Figure 1-5, is integrated with Visual Studio, and it simulates a real WindowsPhone device However, there are things that you can’t do in the emulator For instance,... questions related to Silverlight for WindowsPhone If you have other WindowsPhone related questions, you can visit http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series The Windows Phonedevelopment team puts out many useful blogs that you can follow at http://windowsteamblog.com /windows_ phone/ b/wpdev/ Of course, there is WindowsPhone documentation at MSDN; go to http://msdn.microsoft.com/en-us/library/ff402535(VS.92).aspx... Application template is a template for one-page applications The WindowsPhone List Application template uses a ListBox control and page navigation framework to create applications with multiple pages The WindowsPhone Class Library template can be used to create a class library that can be referenced by other Windows Phone projects 17 CHAPTER 2 BUILDING WINDOWSPHONE APPLICATIONS 4 For the purposes of this... modes of WindowsPhone In the WindowsPhone design view window, click the MY APPLICATION TextBlock In the Properties windows in the lower-right corner of the Visual Studio IDE, change the Text property from MY APPLICATION to HelloWorld Notice that the new text now appears on the design surface, as shown in Figure 2-4 19 CHAPTER 2 BUILDING WINDOWSPHONE APPLICATIONS Figure 2-4 Renaming the application... BUILDING WINDOWSPHONE APPLICATIONS Figure 2-1 Creating a new project in Visual Studio 2010 Express 3 From among the three C# templates that Visual Studio 2010 Express displays on its New Project dialog page, select the WindowsPhone Application Visual C# template, as shown in Figure 2-2 Note There are three different Windows Phone Visual Studio 2010 Express project templates The WindowsPhone Application . Introducing Windows Phone and the Windows Phone Platform 1
Chapter 2: Building Windows Phone Applications 15
Chapter 3: Building Windows Phone 7 Applications. INTRODUCING WINDOWS PHONE AND THE WINDOWS PHONE PLATFORM
9
Figure 1-4. Microsoft Expression Blend 4 for Windows Phone
Windows Phone Emulator
The Windows Phone