The full version of the "Windows Phone 7 Programming" ebook can be downloaded for free.

Source: Internet
Author: User

Currently, there are very limited development materials for learning Windows Phone 7. Apart from the official development documentation of msdn and some blogs, there are no other learning channels. Lucky to be a senior in the United StatesProgramCharles Petzold, a member and writer, released his latest masterpiece programming Windows Phone 7 series for free. His original books are classic books, including windows programming, which we are familiar.

At present, this book consists of 24 chapters, which provide an in-depth explanation of the features of the Windows Phone 7 platform, The XAML in terms of the program interface and layout, and xNa game development.

The free andSource codeLet's start the development of Windows Phone 7!
PDF Format: programming Windows Phone 7 Series

Source code

The following is the directory of the book:

Part I the basics

1 hello, Windows Phone 7

Targeting Windows Phone 7

The hardware Chassis

Sensors and services

File | new | Project

A first Silverlight phone program

The standard Silverlight files

Color themes

Points and pixels

The xap is a zip

An xNa program for the phone

2 getting oriented

Silverlight and Dynamic Layout

Orientation events

XNa Orientation

Simple clocks (VerySimple clocks)

3 An Introduction to touch

Low-level touch handling in xNa

The xNa gesture interface

Low-level touch events in Silverlight

The manipulation events

Routed events

Some odd behavior?

4 bitmaps, also known as textures

XNa Texture Drawing

The SilverlightImageElement

Images via the web

Image and imagesource

Loading local bitmaps from code

Capturing from the camera

The phone's photo library

5 sensors and services

Accelerometer

A simple bubble level

Geographic location

Using a map service

6 issues in application architecture

Basic navigation

Passing data to pages

Sharing data among pages

Retaining Data Processing SS instances

The multitasking ideal

Task switching on the phone

Page state

Isolated Storage

XNa tombstoning and settings

Testing and Experimentation

Part IISilverlight

7 XAML power and limitations

ATextblockIn code

Property inheritance

Property-element syntax

Colors and brushes

Content and content properties

The resources collection

Sharing brushes

X: KeyAndX: Name

An Introduction to styles

Style inheritance

Themes

Gradient accents

8 elements and Properties

Basic shapes

Transforms

Animating at the speed of video

Handling Manipulation events

TheBorderElement

TextblockProperties and inlines

More on Images

Playing movies

Modes of opacity

Non-tiled tile brushes

9 The intricacies of Layout

The single-cellGrid

TheStackpanelStack

Text concatenationStackpanel

Nested panels

VisibilityAnd Layout

TwoScrollviewerApplications

The mechanism of Layout

Inside the Panel

A single-cellGridClone

A custom verticalStackpanel

The retroCanvas

CanvasAndZindex

TheCanvasAnd touch

The mightyGrid

10 The app bar and controls

ApplicationBarIcons

Jot and application settings

Jot and touch

Jot andApplicationBar

Elements and controls

RangebaseAndSlider

The basicButton

The conceptContent

Theme styles and Precedence

The button hierarchy

TogglingStopwatch

Buttons and styles

TextboxAnd keyboard input

11 dependency properties

The problem has strated

The Dependency Property difference

Deriving fromUsercontrol

A new type of toggle

Panels with properties

Attached properties

12 data bindings

Source and target

Target and Mode

Binding Converters

Relative Source

The "This" source

Notification Mechanism

A simple binding Server

SettingDatacontext

Simple demo-making

Converters with properties

Give and take

TextboxBinding updates

13 vector graphics

TheShapesLibrary

CanvasAndGrid

Overlapping andZindex

Polylines and custom Curves

Caps, joins, and dashes

Polygon and fill

TheStretchProperty

Dynamic polygons

ThePathElement

Geometries and transforms

Grouping Geometries

The versatilePathgeometry

TheArcsegment

Bégiscurves

The path markup syntax

How this chapter was created

14 raster graphics

The bitmap class hierarchy

WriteablebitmapAndUielement

The pixel bits

Vector Graphics on a bitmap

Images and tombstoning

Saving to the picture library

Becoming a photo extras Application

15. animations

Frame-based vs. Time-based

Animation targets

Click and spin

Some variations

XAML-based animations

A cautionary tale

Key Frame animations

Trigger on loaded

Animating attached properties (or not)

Splines and key frames

The bouncing ball problem

The easing Functions

Animating perspective transforms

Animations and property Precedence

16 The two templates

ContentcontrolAndDatatemplate

Examining the visual tree

ControltemplateBasics

The visual State Manager

Sharing and reusing styles and templates

Custom Controls in a library

Variations on the slider

The ever-handy thumb

Custom Controls

17 items controls

Items controls and visual trees

Customizing item displays

ListBoxSelection

BindingItemssource

Databases and Business Objects

FunDatatemplates

Sorting

Changing the Panel

TheDatatemplateBar Chart

A card file metaphor

18 weeks and Panorama

Compare and contrast

Music by composer

The xNa connection

The xNa music classes: medialibrary

Displaying the albums

The xNa music classes:Mediaplayer

Part III xNa

19 principles of movement

The Na has ve Approach

A brief review of Vectors

Moving sprites with vectors

Working with parametric equations

Fiddling with the Transfer Function

Scaling the text

Two text rotation programs

20 textures and sprites

TheDrawVariants

Another hello program?

Driving around the block

Movement along a polyline

The elliptical Course

A generalized Curve Solution

21 dynamic textures

The render target

Preserving render target Contents

Drawing lines

Manipulating the pixel bits

The geometry of Line Drawing

Modifying existing images

22 from gestures to transforms

Gestures and Properties

Scale and rotate

Matrix transforms

ThePinchGesture

Flick and inertia

The Mandelbrot set

Pan and zoom

Game Components

Affine and non-affine transforms

23 touch and play

More game components

The phingerpaint canvas

A little tour through spinpaint

The spinpaint code

The actual drawing

Phreecell and a deck of cards

The playing field

Play and Replay

24 tilt and play

3D Vectors

A better bubble Visualization

The graphical rendition

Follow the rolling ball

Navigating a maze

 

 

This article from: http://www.wpzune.com/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.