Book Image

Windows Phone 8 Application Development Essentials

By : Tomasz Szostak
Book Image

Windows Phone 8 Application Development Essentials

By: Tomasz Szostak

Overview of this book

<p>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.</p> <p>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.</p> <p>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.</p> <p>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.</p>
Table of Contents (12 chapters)


Choosers' tasks work in a manner similar to launchers, but the main difference is that, when a new task is finished, it usually populates our application with some data. For example, camera or gallery image choosers. In this situation, we also have many choosers provided by the SDK:

  • Address chooser: It launches the contact book application, which allows us to select the physical address of our contact.

  • E-mail address chooser: It is similar to the address chooser. It opens users' contacts and allows selecting a contact with their e-mail address.

  • Camera chooser: It launches the camera application, which enables the user to take photos that will be captured in our application.

  • Gallery photo chooser: It gives users the ability to select existing photos from their photo gallery and send them back to our application.

Using a chooser is a bit more sophisticated because we need to handle the callback method that populates data from the chooser task to our application. The following are the...