Beginning Windows Phone App Development

Book description

Microsoft's Windows Phone 7 handsets have injected a new vibrancy into the smartphone marketplace and provided bold new opportunities for the Microsoft development community.

Take advantage of these opportunities with Beginning Windows Phone App Development, written specifically to help you learn the skills you'll need to develop rich, functional apps for the Windows Phone 7 platform. Authors Henry Lee and Eugene Chuvyrov cover the very latest developments in the field—including the extended APIs offered in the new Mango platform update—so you'll have timely, accurate information at your fingertips.

Beginning Windows Phone App Development starts with the basics, walking you through the process of downloading and setting up the right development tools, including Visual Studio,Expression Blend, Silverlight SDK, and Windows Phone SDK. It then takes you step-by-step though the development process as you build and deploy a working application, complete with a sophisticated user interface. Finally, you'll receive step-by-step instructions on packaging and selling your applications through the Windows Phone Marketplace.

What you'll learn

  • How to create effective networked applications

  • How to leverage your phone's GPS capabilities from within your application

  • How to interact with the phone's built-in functionalities (camera, contacts, maps, accelerometer, video and web browser, to name but a few)

  • How to construct highly graphical and responsive user interfaces quickly and easily using these features

  • How to package and distribute your applications for both personal distribution and commercial sale via the Windows Phone Marketplace

Who this book is for

This book is for anyone interested in developing applications for the Windows Phone 7.5 platform. You might be an existing .NET developer looking for a new creative angle, or perhaps an iPhone or Android developer looking for a new opportunity. If you have an understanding of basic .NET coding practices, then this book is for you.

Table of contents

  1. Title
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Authors
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Introduction
    1. Who This Book Is For
    2. What You Need to Use this Book
    3. How this Book is Organized
    4. Where to Find Sources for the Examples
    5. Send Us Your Comments
    6. Contacting the Authors
  9. Chapter 1: Introducing Windows Phone and the Windows Phone Platform
    1. Windows Phone Overview
    2. Windows Phone Hardware Specifications
    3. Windows Phone Application Platform
    4. Application Development Life Cycle
    5. Summary
  10. Chapter 2: Building Windows Phone Applications
    1. Preparing Your Development Machine
    2. Building Your First Windows Phone Application
    3. Summary
  11. Chapter 3: Building Windows Phone 7 Applications Using Cloud Services As Data Stores
    1. Introducing the MVVM Pattern
    2. Introducing Microsoft Azure and SQL Azure
    3. Creating a Cloud Database
    4. Creating a Cloud Service to Access the Cloud Database
    5. Building a Phone Client to Access a Cloud Service
    6. Summary
  12. Chapter 4: Catching and Debugging Errors
    1. Debugging Application Exceptions
    2. Registering a Windows Phone Device for Debugging
    3. Handling Device Exceptions
    4. Summary
  13. Chapter 5: Packaging, Publishing, and Managing Applications
    1. Windows Phone Application Publishing Life Cycle
    2. Windows Phone Application Certification Requirements
    3. Submitting Your First Windows Phone Application to theWindows Phone Marketplace
    4. Summary
  14. Chapter 6: Working with the Accelerometer
    1. Understanding Orientation and Movement
    2. Introducing SDK Support for Accelerometers
    3. Retrieving Accelerometer Data
    4. Using Accelerometer Data to Move a Ball
    5. Summary
  15. Chapter 7: Application Bar
    1. Introducing the Application Bar
    2. Adding an Application Bar to a Windows Phone Application
    3. Wiring Up Events to an Application Bar
    4. Summary
  16. Chapter 8: The WebBrowser Control
    1. Introducing the WebBrowser Control
    2. Adding a WebBrowser Control
    3. Using a WebBrowser Control to Display Web Content
    4. Using a WebBrowser Control to Display Local HTML Content
    5. Using a WebBrowser Control to Display Dynamic Content
    6. Saving Web Pages Locally
    7. Choosing Display and Security Settings
    8. Viewport
    9. A Brief Introduction to HTML5 Features
    10. Summary
  17. Chapter 9: Working with Controls and Themes
    1. Introducing the Metro Design System
    2. Themes on Windows Phone Devices
    3. Panorama and Pivot Controls
    4. Understanding Frame and Page Navigation
    5. Adding Transition Effects
    6. Summary
  18. Chapter 10: Integrating Applications with the Windows Phone OS
    1. Introducing Windows Phone Launchers and Choosers
    2. Working with Launchers and Choosers
    3. Working with the Windows Phone Application Life Cycle
    4. Integrating with Facebook
    5. Integrating into Windows Phone Hubs
    6. Summary
  19. Chapter 11: Creating Trial Applications
    1. Understanding Trial and Full Modes
    2. Building a Trial Application
    3. Summary
  20. Chapter 12: Internationalization
    1. Understanding Internationalization
    2. Using Culture Settings with ToString to Display Dates, Times, and Text
    3. Using the .NET Culture Hierarchy to Ensure Culture Neutrality
    4. Storing and Retrieving Current Culture Settings
    5. Using Resource Files to Localize Content
    6. Localizing the Application Title and Tile
    7. Summary
  21. Chapter 13: Isolated Storage
    1. Working with Isolated Directory Storage
    2. Working with Isolated Storage Settings
    3. Summary
  22. Chapter 14: Using Location Services
    1. Understanding Windows Phone Location Services Architecture
    2. Introducing the Windows Phone Location Service and Mapping APIs
    3. Simulating the Location Service
    4. Using GeoCoordinateWatcher and the Bing Maps Control to Track Your Movements
    5. Plotting an Address on a Bing Maps Map and Working with the Bing Maps Service
    6. Summary
  23. Chapter 15: Media
    1. Introducing MediaElement
    2. Working with Video
    3. Adding Sounds to an Application
    4. Summary
  24. Chapter 16: Working with the Camera and Photos
    1. Introducing Windows Phone Photo Features
    2. Integrating Your Application with Windows Phone
    3. Manipulating Live Photo Feeds
    4. Summary
  25. Chapter 17: Push Notifications
    1. Understanding Push Notifications
    2. Introducing the Push Notifications Architecture
    3. Implementing Toast Notifications
    4. Implementing Tile Notifications
    5. Implementing Raw Notifications
    6. Implementing a Cloud Service to Track Push Notifications
    7. Using Push Notifications in the Real World
    8. Setting Up Secure Web Services for Push Notifications
    9. Summary
  26. Chapter 18: Reactive Extensions for .NET
    1. Introducing Reactive Programming
    2. Rx.NET Subscription Pipeline
    3. Implementing the Observer Pattern with Rx.NET
    4. Using Rx.NET Event Handling to Search for Flickr Photographs
    5. Rx.NET Design Guidelines
    6. Using Rx.NET with Web Services to Retrieve Weather Data Asynchronously
    7. Handling Errors in Rx.NET
    8. Handling Data-Connection Issues with Rx.NET
    9. Revising WeatherRx to Manage Slow Data Connections
    10. Handling Multiple Concurrent Requests with Rx.NET
    11. Summary
  27. Chapter 19: Security
    1. Understanding Application Security
    2. Implementing Network Security
    3. Implementing Data Security
    4. Understanding Device Physical Security
    5. Meeting Certification Requirements
    6. Obfuscating Your Application Code
    7. Summary
  28. Index

Product information

  • Title: Beginning Windows Phone App Development
  • Author(s):
  • Release date: February 2012
  • Publisher(s): Apress
  • ISBN: 9781430241348