Windows Phone 7 in Action
Timothy Binkley-Jones, Massimo Perga, and Michael Sync
  • August 2012
  • ISBN 9781617290091
  • 480 pages
  • printed in black & white

Definitely recommended!

Vipul Patel,

Windows Phone 7 in Action is a hands-on guide to building mobile applications for WP. Written for developers who already know their way around Visual Studio, this book zips through the basics, including an intro to WP7 and Metro. Then, it moves on to the nuts and bolts of building great phone apps.

Table of Contents show full



about this book

about the cover illustration

Part 1 Introducing Windows Phone

1. A new phone, a new operating system

1.1. Rebooting the Windows Phone platform

1.2. Windows Phone foundations

1.3. Comparing Windows Phone to other mobile platforms

1.4. The Windows Phone Developer Tools

1.5. Summary

2. Creating your first Windows Phone application

2.1. Generating the project

2.2. Implementing Hello World

2.3. Interacting with the user

2.4. Page navigation

2.5. Application artwork

2.6. Try before you buy

2.7. Summary

Part 2 Core Windows Phone

3. Fast application switching and scheduled actions

3.1. Fast application switching

3.2. Launching the application

3.3. Switching applications

3.4. Out of sight

3.5. Working on a schedule

3.6. Creating a background agent

3.7. Summary

4. Launching tasks and choosers

4.1. Tasks API

4.2. Launchers

4.3. Choosers

4.4. UserData APIs

4.5. Summary

5. Storing data

5.1. Creating the High Scores sample application

5.2. Storing data with application settings

5.3. Serializing data to isolated storage files

5.4. Working with a database

5.5. Summary

6. Working with the camera

6.1. Starting the PhotoEditor project

6.2. Working with the camera tasks

6.3. Controlling the camera

6.4. Image editing

6.5. Summary

7. Integrating with the Pictures and Music + Videos Hubs

7.1. Working with pictures in the Media Library

7.2. Editing and sharing from the Pictures Hub

7.3. Playing and recording with the Music + Videos Hub

7.4. Playing recorded audio in the Music + Videos Hub

7.5. Playing recorded audio with a background agent

7.6. Listening to FM radio

7.7. Summary

8. Using sensors

8.1. Understanding the sensor APIs

8.2. Creating the sample application

8.3. Measuring acceleration with the accelerometer

8.4. Finding direction with the Compass

8.5. Pivoting with the Gyroscope

8.6. Wrapping up with the motion sensor

8.7. Summary

9. Network communication with push notifications and sockets

9.1. Detecting network connectivity

9.2. Pushing notifications to a phone

9.3. Simulating a push notification service

9.4. Tiles without all the pushiness

9.5. Communicating with sockets

9.6. Implementing a chat application with TCP sockets

9.7. Summary

Part 3 Silverlight for Windows Phone

10. ApplicationBar, Panorama, and Pivot controls

10.1. Working with the ApplicationBar

10.2. Improving the scenery with the Panorama control

10.3. Pivoting around an application

10.4. Summary

11. Building Windows Phone UI with Silverlight controls

11.1. Handling page orientation

11.2. Building user interfaces

11.3. Receiving Input

11.4. Silverlight Toolkit for Windows Phone

11.5. Summary

12. Manipulating and creating media with MediaElement

12.1. Building a media player with MediaElement

12.2. Manipulating the media stream with MediaStreamSource

12.3. Creating custom video

12.4. Creating custom audio

12.5. Streaming media clients

12.6. Summary

13. Using Bing Maps and the browser

13.1. Introducing Bing Maps

13.2. Location services

13.3. Embedding a Map control

13.4. Using the Bing Maps Services

13.5. Building an HTML 5-based application

13.6. Summary

Part 4 Silverlight and the XNA Framework

14. Integrating Silverlight with XNA

14.1. Creating a Silverlight with XNA application

14.2. Building the game page

14.3. Implementing a scoreboard with Silverlight

14.4. Summary

15. XNA input handling

15.1. Implementing pause and resume

15.2. Adding input services

15.3. Summary

Appendix A: Microsoft Expression Blend for Windows Phone

Appendix B: Silverlight and the Extensible Application Markup Language

Appendix C: AppHub and Marketplace


About the Technology

Windows Phone 7 is a powerful mobile platform sporting the same Metro interface as Windows 8. It offers a rich environment for apps, browsing, and media. Developers code the OS and hardware using familiar .NET tools like C# and XAML. And the new Windows Store offers an app marketplace reaching millions of users.

About the book

Windows Phone 7 in Action is a hands-on guide to programming the WP7 platform. It zips through standard phone, text, and email controls and dives head-first into how to build great mobile apps. You'll master the hardware APIs, access web services, and learn to build location and push applications. Along the way, you'll see how to create the stunning visual effects that can separate your apps from the pack.

What's inside

  • Full introduction to WP7 and Metro
  • HTML5 hooks for media, animation, and more
  • XNA for stunning 3D graphics
  • Selling apps in the Windows Store

About the reader

Written for developers familiar with .NET and Visual Studio. No WP7 or mobile experience is required.

About the authors

Timothy Binkley-Jones is a software engineer with extensive experience developing commercial IT, web, and mobile applications. Massimo Perga is a software engineer at Microsoft and Michael Sync is a solution architect for Silverlight and WP7.

eBook $31.99 pdf + ePub + kindle

FREE domestic shipping on three or more pBooks

Top resource for Windows Phone developers.

Loïc Simon, Solent SAS

A great handbook for climbing the WP7 ladder.

Francesco Goggi, Magneti Marelli

Gives you a kickstart in Windows Phone development.

Mark Monster, Monster Consultancy