Migrating to Windows Phone

Book description

This book offers everything you'll need to upgrade your existing programming knowledge and begin to develop applications for the Windows Phone.

It focuses on the 75 percent of the material that you will need 95 percent of the time. We're not going to teach you object-oriented programming (OOP) all over again, but we are going to take the time to point out how .NET and C# differ in their execution of the standard OOP concepts from other languages' implementations in order to make your migration as smooth and stress-free as possible.

Migrating to Windows Phone will lead you through a tour of the key features of developing for Microsoft's devices. We'll consider everything from data handling to accelerometers, from mapping to WCF. We'll also walk you through monetizing your application through Microsoft's online Windows Phone store.

What you'll learn

  • To get your phone, IDE and other tools set up in an efficient manner

  • The controls that are available to you in Windows Phone programming and how they can be applied

  • To apply concepts of a non-trivial demo application to your own application context

  • To point out the key elements of both the phone and the Visual Studio IDE

  • The principles of push and pull data and data-binding

  • To work with the features that make the Windows Phone unique (Bing Maps, WCF, Silverlight)

  • To monetize your applications through advertising, the Windows Phone Marketplace, and other channels

Who this book is for

This book is for anyone seeking to develop applications for the Windows Phone. No prior Silverlight or C# knowledge is required, although an understanding of programming in general, and object-oriented programming in particular, is assumed. Notes are used liberally to highlight features and concepts that might be confusing to programmers unfamiliar with .NET and C#.

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. Foreword
  9. Introduction
    1. Migrating
    2. Migrating from Other Phones
    3. Migrating from Silverlight or WPF
  10. CHAPTER 1: Get to Work: Your First Windows Phone Program
    1. Creating a New Application with Visual Studio
    2. Building the User Interface with Expression Blend
    3. Programming the Calculator
    4. Summary
  11. CHAPTER 2: Get Control: Exploring Windows Phone Controls
    1. Introducing Layout Controls
    2. Building a Real User Interface
    3. Summary
  12. CHAPTER 3: Get the Data
    1. Binding Data to Controls
    2. Binding Data with the DataBound Template
    3. Storing Data in Isolated Storage
    4. Storing Data in a Local Database
    5. Summary
  13. CHAPTER 4: Get a Life
    1. Understanding the Application Lifecycle
    2. Fast Application Switching
    3. Managing State
    4. Using Background Agents
    5. Summary
  14. CHAPTER 5: Get Blended
    1. Using Styles and Templates
    2. Using Behaviors
    3. Creating Sample Data
    4. Binding Data
    5. Summary
  15. CHAPTER 6: Get Moving: Adding Animation to Your Apps
    1. Understanding the Lexicon of Animation
    2. Creating a Simple Animation
    3. Creating Custom (and Distracting) Page Transitions
    4. Summary
  16. CHAPTER 7: Get a Job: Interacting with User Data
    1. Distinguishing Launchers and Choosers
    2. Bing Tasks
    3. Camera Tasks
    4. Communication Tasks
    5. Contacts Tasks
    6. Marketplace Tasks
    7. Miscellaneous Tasks
    8. Using the Microsoft.Phone.UserData Namespace
    9. Summary
  17. CHAPTER 8: Get Pushy: Using Push Notifications to Keep Your Users Up-to-Date
    1. Understanding Push Notifications (and the US Postal Service)
    2. Creating a Notification App
    3. Creating a Toast Notification
    4. Creating a Raw Notification
    5. Creating a Tile Notification
    6. Live Tile Updates
    7. Summary
  18. CHAPTER 9: Get Oriented: Interacting with the Phone, Camera, GPS, and More
    1. Tracking the Position of Your Device
    2. Accessing Raw Camera Data
    3. Summary
  19. CHAPTER 10: Get Money: Profiting from Your Applications
    1. Submitting Your App to the Windows Phone Marketplace
    2. Monetizing Your Application
    3. Promoting Your Application
    4. Summary
  20. Index

Product information

  • Title: Migrating to Windows Phone
  • Author(s):
  • Release date: December 2011
  • Publisher(s): Apress
  • ISBN: 9781430238164