O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Windows Phone 8 Application Development Essentials

Book Description

If you want to develop apps for Windows Phone 8, this book gives you the works – from creating a consistent UI, to social media integration, to testing. Learn the modern approach to a totally modern mobile platform.

  • Learn how to design fast and fluid apps that users will love

  • Packed with examples and illustrations that help you understand how to make high quality software

  • Build applications using the modern MVVM pattern

  • In Detail

    Windows Phone 8 replaces Windows Phone 7 devices with the Windows NT kernel found on many Windows 8 components. Windows 8 will give you more options to develop better and more visually appealing PC and Tablet applications.

    A practical guide that will show you how you how to create testable MVVM applications keeping in mind the best UI practices. You will learn how to integrate peripheral sensors and social portals like Facebook and Twitter into your applications. This book shows the advantages of using modern patterns instead of the traditional way of programming.

    Starting with a Windows Phone UI description, the guide then takes you through the world of fast and fluid design guidelines. After that, you will be shown the beauty of C# and MVVM advantages, finishing with clear descriptions of mobile-application integration with peripherals and social media. Clear and well-described examples throughout will help you become a WP8 developer.

    You will also learn how to test your applications using Unit Test cut dependencies in your methods using Mocks, and use the newest features of C# such as asynchronous methods. If you are more of a designer than a developer, then there is also an explanation on how to create a consistent look and feel for Windows Phone applications.

    Table of Contents

    1. Windows Phone 8 Application Development Essentials
      1. Table of Contents
      2. Windows Phone 8 Application Development Essentials
      3. Credits
      4. About the Author
      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
      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
          4. Questions
      8. 1. XAML in Windows Phone
        1. Types of XAML objects
          1. Navigation
            1. PhoneApplicationFrame
            2. PhoneApplicationPage
          2. Containers
            1. Canvas
            2. Border
            3. Grid
            4. Panorama
            5. Pivot
            6. ScrollViewer
            7. StackPanel
          3. List controls
            1. ListBox
            2. LongListSelector
          4. Common controls
            1. ApplicationBar
            2. Button
            3. CheckBox
            4. HyperlinkButton
            5. Image
            6. MediaElement
            7. MultiScaleImage
            8. PasswordBox
            9. Popup
            10. MessageBox
            11. RadioButton
            12. RichTextBox
            13. Slider
            14. TextBlock
            15. TextBox
            16. ToggleButton
            17. WebBrowser
          5. User controls
          6. Third-party controls – Windows Phone Toolkit
        2. Working with data
          1. Binding expressions
          2. DataContext
          3. Element-to-element data binding
          4. Binding mode
          5. INotifyPropertyChanged
          6. Value converters
          7. List binding
        3. Summary
      9. 2. App Design – Best Practices
        1. First impression
        2. The golden circle – people don't buy what you do, people buy why you do it
        3. Why? how? what? – planning
        4. Commands and navigation
          1. Flat navigation
          2. Hierarchical navigation
          3. Groups or section tiles
          4. Details
          5. Pivot
          6. Panorama
          7. Application bar
          8. Context menu
        5. Touch in the Windows Phone 8 application
          1. Touch and gestures
          2. Target size guidelines
        6. Branding in the Windows Phone application
          1. Simplicity is not bad!
        7. Principles for UI/UX
          1. Being fast and fluid
          2. The grid system
          3. Windows is one
          4. Controls design best practices
          5. Fonts
          6. Tiles and notifications
        8. Summary
      10. 3. Building a Windows Phone 8 Application using MVVM
        1. The project structure
        2. Folder structure
          1. View
        3. Model
        4. ViewModel
        5. Bindings
          1. Model
          2. ViewModel
          3. View
          4. MVVM communication
          5. Wrapping model/property changes
          6. Exposing commands
          7. Direct method calls
          8. Data templates
            1. Value converters
        6. The MVVM Light Toolkit
          1. Getting the MVVM Light Toolkit
          2. Messaging
          3. Page navigation with MVVM
          4. ViewModel locator
          5. Unit testing
        7. Creating the application "SociAgg"
        8. Summary
      11. 4. Integrating with Windows Phone
        1. Isolated storage
        2. The Settings API
        3. The File API
          1. Reading the file
          2. Creating a folder and writing files
          3. Reading and writing serializable classes
        4. Implementing tile notification
          1. Updating the application tile from code
        5. Background agents
        6. Toast notifications
        7. Launchers
        8. Choosers
        9. Summary
      12. 5. Integrating with Twitter and Facebook
        1. Facebook for developers
          1. Using Graph API
          2. Facebook SDK integration
        2. Twitter integration
        3. Summary
      13. Index