Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 72 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
72
Dung lượng
1,03 MB
Nội dung
[...]... Margin= "12 , 17 , 0,28"> 13 < /phone: PhoneApplicationPage>...Introduction This book is a gift from the Windows Phone 7 team at Microsoft to the programming community, and I am proud to have been a part of it Within the pages that follow, I show you the basics of writing applications for Windows Phone 7 using the C# programming language with the Silverlight and XNA 2D frameworks Yes, Programming Windows Phone 7 is truly a free download, but for those readers... Although you can do quite a bit with the phone emulator, at some point you’ll want to deploy your programs to an actual Windows Phone 7 device You can register as a phone developer at http://developer.windowsphone.com and then have the ability to unlock your phone so you can deploy your programs from Visual Studio Since late July 2 010 , I’ve had an LG GW 910 phone to test the programs in this book For... soon: Windows Phone 7 Silverlight Development Step by Step by Andy Wigley & Peter Foot offers a more tools-oriented approach Although Michael Stroh’s Windows Phone 7 Plain & Simple is a guide to using the phone rather than developing for it, I suspect it will give developers some insights and ideas Moreover, I also hear that my old friend Doug Boling is working hard on a Windows Phone 7 enterprise -programming. .. XNAHelloPhone project contains two C# code files: Program.cs and Game1.cs The first is very simple and turns out to be irrelevant for Windows Phone 7 games! A preprocessor directive enables the Program class only if a symbol of WINDOWS or XBOX is defined When compiling Windows Phone programs, the symbol WINDOWS_ PHONE is defined instead For most small games, you’ll be spending all your time in the Game1.cs... cloud services and Windows Azure form an important part of Windows Phone 7 development The Windows Phone is “cloud-ready.” Programs are location-aware and have access to maps and other data through Bing and Windows Live One of the available cloud services is Xbox Live, 3 • Search The operating system uses this button to initiate a search feature The initial releases of Windows Phone 7 devices have a... SilverlightHelloPhone using using using using using using using using using using using using File: MainPage.xaml.cs (excerpt) System; System.Collections.Generic; System.Linq; System.Net; System .Windows; System .Windows. Controls; System .Windows. Documents; System .Windows. Input; System .Windows. Media; System .Windows. Media.Animation; System .Windows. Shapes; Microsoft .Phone. Controls; namespace SilverlightHelloPhone... Tools, which includes Visual Studio 2 010 Express for Windows Phone, XNA Game Studio 4.0, and an on-screen Windows Phone Emulator to test your programs in the absence of an actual device Get the latest information and downloads at http://developer.windowsphone.com You can install these tools on top of Visual Studio 2 010 , in effect enhancing Visual Studio 2 010 for phone development That’s the configuration... final build I installed was 7. 0 .70 03.0 Using the Phone Emulator Windows Phone 7 supports multi-touch, and working with multi-touch is an important part of developing programs for the phone When using the Windows Phone Emulator, mouse clicks and mouse movement on the PC can mimic touch on the emulator, but for only one finger You can test out multi-touch for real on the phone emulator if you have a... SilverlightHelloPhone File: MainPage.xaml (almost complete) . 19 2 10 The App Bar and Controls 232 11 Dependency Properties 296 12 Data Bindings 338 13 Vector Graphics 393 14 Raster Graphics 4 61 15 Animations 508 16 The Two Templates 578 17 . Navigation 10 3 Passing Data to Pages 11 0 Sharing Data Among Pages 11 2 Retaining Data across Instances 1 17 The Multitasking Ideal 12 0 Task Switching on the Phone 12 0 Page State 12 2 Isolated. Video 17 5 Handling Manipulation Events 17 7 The Border Element 17 8 TextBlock Properties and Inlines 18 2 More on Images 18 5 Playing Movies 18 8 Modes of Opacity 18 8 Non-Tiled Tile Brushes 19 0