You are previewing Windows Phone 7 Silverlight Cookbook.
O'Reilly logo
Windows Phone 7 Silverlight Cookbook

Book Description

All the recipes you need to start creating apps and making money with this Microsoft Windows Phone 7 Silverlight book and eBook

  • Build sophisticated Windows Phone apps with clean, optimized code.

  • Perform easy to follow recipes to create practical apps.

  • Master the entire workflow from designing your app to publishing it.

  • In Detail

    Silverlight has revolutionized development using Microsoft technologies. It is an excellent tool for mobile application development. The XAML-based markup and familiar C# code are the perfect combination for building apps efficiently and with minimum hassle.

    Packed full of recipes containing comprehensive instructions for the tasks required to build modern compelling smartphone apps using Silverlight.

    Starting with application design and architecture, you will quickly move on to more technical features and APIs you can implement to make your app stand out. You will use the Camera API to scan barcode, location services to pinpoint the user’s GPS coordinates and accelerometer to provide feedback based on movement of the phone. All of these features can be provided in a slick user interface through the power of Silverlight. Animations, behaviors and XAML provide all you need and more.

    Table of Contents

    1. Windows Phone 7 Silverlight Cookbook
      1. Windows Phone 7 Silverlight Cookbook
      2. Credits
      3. Foreword
      4. About the Authors
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
            1. Downloading the example code
            2. Errata
            3. Piracy
          1. Questions
      8. 1. Layout and Design
        1. Introduction
        2. Downloading the tools
        3. Understanding the tools
            1. Visual Studio 2010 Express
            2. Expression Blend for Windows Phone
            3. Windows Phone Emulator
            4. Also included in the download
        4. Creating simple navigation
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        5. Using Positioning controls
          1. Getting ready
          2. How to do it...
          3. How it works
        6. Discovering the various input controls
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There's more...
        7. ViewStateManager introduction
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        8. Understanding the panorama control
          1. Getting ready
          2. How to do it...
          3. How it works...
        9. Using the pivot control
          1. Getting ready
          2. How to do it...
          3. How it works...
      9. 2. Creating Animation
        1. Introduction
        2. Using ViewStateManager to create simple animations
          1. Getting ready
          2. How to do it...
          3. How it works...
        3. The basics of timelines
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        4. Using timelines for feedback to users
          1. Getting ready
          2. How to do it...
          3. How it works...
      10. 3. Behaviors and Events
        1. Introduction
        2. Understanding events
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Understanding basic behaviors
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. ControlStoryBoardAction
            2. GoToStateAction
            3. PlaySoundAction
        4. Custom behavior
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        5. Physics engine behavior
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
      11. 4. DataBinding 101/MVVM
        1. Introduction
        2. A case for MVVM
            1. Separation of Concerns
            2. Testability
            3. Reusability
        3. Creating a simple model
          1. Getting ready
          2. How to do it...
          3. There's more...
        4. Creating a ViewModel
          1. Getting ready
          2. How to do it...
          3. There's more...
        5. Creating a view
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Element-to-element binding
          1. Getting ready
          2. How to do it...
          3. How it works...
      12. 5. Services, Data, and RSS
        1. Introduction
        2. Creating a WCF service to access a SQL database
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Using a WCF service in a Windows Phone application
          1. Getting ready
          2. How to do it...
          3. How it works...
        4. Building a simple RSS reader
          1. Getting ready
          2. How to do it...
          3. How it works...
      13. 6. Location Services
        1. Introduction
        2. Tracking latitude and longitude
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        3. Tracking altitude, speed, and course
          1. Getting ready
          2. How to do it...
            1. How it works...
            2. There's more…
            3. See also
          3. Saving battery by using a location wisely
            1. Getting ready
            2. How to do it...
              1. How it works...
              2. See also
            3. Using location services with the emulator
              1. Getting ready
              2. How to do it...
                1. How it works...
                2. There's more…
                3. See also
              3. Mapping your location
                1. Getting ready
                2. How to do it...
                3. How it works...
      14. 7. Push Notifications to the Phone
        1. Introduction
        2. Updating the tile background without push
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Creating a service to send notifications
          1. Getting ready
          2. How to do it...
            1. How it works...
        4. Registering for push notifications
          1. Getting ready
          2. How to do it...
            1. How it works...
            2. There's more...
            3. See also
        5. Creating a notifications helper
          1. Getting ready
          2. How to do it...
            1. How it works...
            2. See also
          3. Creating toast notifications
            1. Getting ready
            2. How to do it...
              1. How it works...
              2. There's more...
                1. Authenticated Push Notifications
      15. 8. Launchers and Choosers
        1. Introduction
        2. Automating e-mails
          1. Getting ready
          2. How to do it...
            1. How it works...
          3. Handling common About Us tasks
            1. Getting ready
            2. How to do it...
              1. How it works...
            3. Scanning barcodes
              1. Getting ready
              2. How to do it...
                1. How it works...
                2. There's more...
                  1. Debugging tips
                  2. Trigger happy Chooser
              3. Enabling photo extras
                1. How to do it...
                  1. How it works...
                  2. There's more...
                2. Tombstoning
                  1. Getting ready
                  2. How to do it...
                    1. How it works...
                    2. There's more...
                      1. Methods of persisting state
                      2. Not all Launchers and Choosers are the same
                      3. Tombstone events
      16. 9. Sensing with Sensors
        1. Introduction
        2. Orienting your app
          1. Getting ready
          2. How to do it...
            1. How it works...
            2. There's more...
              1. PortraitDown orientation
          3. That mic is hot
            1. Getting ready
            2. How to do it...
              1. How it works...
            3. Accelerating your apps
              1. Getting ready
              2. How to do it...
                1. How it works...
              3. Developing the touch
                1. Getting ready
                2. How to do it...
                  1. How it works...
                3. Shaking it up
                  1. Getting ready
                  2. How to do it...
                    1. How it works...
                  3. Pinching with ease
                    1. Getting ready
                    2. How to do it...
                      1. How it works...
                      2. There's more…
      17. 10. Preparing Apps for the Marketplace
        1. Introduction
        2. Configuring capabilities
          1. Getting ready
          2. How to do it...
            1. How it works...
            2. There's more...
              1. Automated capabilities detection
            3. Maintaining responsiveness
              1. Getting ready
              2. How to do it...
                1. How it works...
              3. Adding trial support
                1. Getting ready
                2. How to do it...
                  1. How it works...
                  2. There's more...
                3. Creating iconography
                  1. Getting ready
                  2. How to do it...
                    1. How it works...
                  3. Submitting an app
                    1. Getting ready
                    2. How to do it...
                      1. How it works...
                      2. There's more...