Skip to main content
Top

2012 | Book

Windows 8 Apps Revealed

Using XAML and C#

insite
SEARCH

About this book

This 88-page primer unveils the key features of Microsoft's eagerly anticipated Windows 8 operating system. Windows 8 contains Microsoft's revolutionary new application framework for building dynamic and responsive touch-enabled applications that target both desktops and mobile devices.

Experienced author Adam Freeman invites you to take a crash course in Windows 8 development. Using the open standards of XAML and C# he ensures you understand the changes that are being made to Windows development practices and puts you on the right course to creating innovative and elegant applications for this latest evolution of the world’s most successful operating system.

Table of Contents

Frontmatter
CHAPTER 1. Getting Started
Abstract
Windows Store apps are an important addition to Microsoft Windows 8, providing the cornerstone for a single, consistent programming and interaction model across desktops, tablets, and smartphones. The app user experience is very different from previous generations of Windows applications: Windows Store apps are full-screen and favor a style that is simple, direct, and free from distractions.
Adam Freeman
CHAPTER 2. Data, Binding, and Pages
Abstract
In this chapter, I show you how to define and use the data that forms the core of a Windows app. To do this, I will be loosely following the view model pattern, which allows me to cleanly separate the data from the parts of the app responsible for displaying that data and handling user interactions.
Adam Freeman
CHAPTER 3. AppBars, Flyouts, and Navigation
Abstract
In this chapter, I show you how to create and use some of the user interactions that are essential parts of the Windows app user experience. The Application Bar (AppBar) and Navigation Bar (NavBar) provide the means by which the user can interact with your content and features and navigate within your app. I also show you how to create flyouts, which are pop-ups used to capture information from the user, usually in response to an interaction with the AppBar.
Adam Freeman
CHAPTER 4. Views and Tiles
Abstract
In this chapter, I describe two of the features that allow an app to fit into the wider user experience presented by Windows 8. The first of these features is the way that apps can be snapped and filled so that two apps can be viewed side by side. I show you how to adapt when your app is placed into one of these layouts and how to change the layout when your interactions don’t fit inside the view constraints.
Adam Freeman
CHAPTER 5. App Life Cycle and Contracts
Abstract
In this, the final chapter in this book, I show you how to take control of the app life cycle by responding to key Windows events. I show you how to fix the code that Visual Studio adds to projects, how to properly deal with your app being suspended and resumed, and how to implement contracts that tie your app into the wider user experience that Windows 8 offers. Along the way, I’ll demonstrate the use of the geolocation feature and show you how to set up and manage a recurring asynchronous task.
Adam Freeman
Backmatter
Metadata
Title
Windows 8 Apps Revealed
Author
Adam Freeman
Copyright Year
2012
Publisher
Apress
Electronic ISBN
978-1-4302-5035-7
Print ISBN
978-1-4302-5034-0
DOI
https://doi.org/10.1007/978-1-4302-5035-7

Premium Partner