contents

preface
acknowledgments
about this book
about the cover illustration

Part 1 Introducing Windows Phone

Chapter 1 A new phone, a new operating system
Rebooting the Windows Phone platform
Windows Phone foundations
Comparing Windows Phone to other mobile platforms
The Windows Phone Developer Tools
Summary
Chapter 2 Creating your first Windows Phone application
Generating the project
Implementing Hello World
Interacting with the user
Page navigation
Application artwork
Try before you buy
Summary

Part 2 Core Windows Phone

Chapter 3 Fast application switching and scheduled actions
Fast application switching
Launching the application
Switching applications
Out of sight
Working on a schedule
Creating a background agent
Summary
Chapter 4 Launching tasks and choosers
Tasks API
Launchers
Choosers
UserData APIs
Summary
Chapter 5 Storing data
Creating the High Scores sample application
Storing data with application settings
Serializing data to isolated storage files
Working with a database
Summary
Chapter 6 Working with the camera
Starting the PhotoEditor project
Working with the camera tasks
Controlling the camera
Image editing
Summary
Chapter 7 Integrating with the Pictures and Music + Videos Hubs
Working with pictures in the Media Library
Editing and sharing from the Pictures Hub
Playing and recording with the Music + Videos Hub
Playing recorded audio in the Music + Videos Hub
Playing recorded audio with a background agent
Listening to FM radio
Summary
Chapter 8 Using sensors
Understanding the sensor APIs
Creating the sample application
Measuring acceleration with the accelerometer
Finding direction with the Compass
Pivoting with the Gyroscope
Wrapping up with the motion sensor
Summary
Chapter 9 Network communication with push notifications and sockets
Detecting network connectivity
Pushing notifications to a phone
Simulating a push notification service
Tiles without all the pushiness
Communicating with sockets
Implementing a chat application with TCP sockets
Summary

Part 3 Silverlight for Windows Phone

Chapter 10 ApplicationBar, Panorama, and Pivot controls
Working with the ApplicationBar
Improving the scenery with the Panorama control
Pivoting around an application
Summary
Chapter 11 Building Windows Phone UI with Silverlight controls
Handling page orientation
Building user interfaces
Receiving Input
Silverlight Toolkit for Windows Phone
Summary
Chapter 12 Manipulating and creating media with MediaElement
Building a media player with MediaElement
Manipulating the media stream with MediaStreamSource
Creating custom video
Creating custom audio
Streaming media clients
Summary
Chapter 13 Using Bing Maps and the browser
Introducing Bing Maps
Location services
Embedding a Map control
Using the Bing Maps Services
Building an HTML 5-based application
Summary

Part 4 Silverlight and the XNA Framework

Chapter 14 Integrating Silverlight with XNA
Creating a Silverlight with XNA application
Building the game page
Implementing a scoreboard with Silverlight
Summary
Chapter 15 XNA input handling
Implementing pause and resume
Adding input services
Summary

appendix A Microsoft Expression Blend for Windows Phone
appendix B Silverlight and the Extensible Application Markup Language
appendix C AppHub and Marketplace
                   index