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)

Facebook for developers

Social media gives us the power to share information about ourselves and be in touch with our friends and community. There are some built-in mechanisms such as "share" in WP8, but more complex information is available only by using a dedicated application.

If we want to create our application online with Facebook, we should first sign in to our Facebook account and create a developer account.

Go to Using this site, we are able to create a Facebook application. This site will be our agent in Facebook that will allow us to get data from Facebook. One of the fields to fill in will be the type of application we would like to create. There are multiple solutions to connect to Facebook, but the one that we will use is Graph API. When we finish creating our application, we will get our Facebook Application ID and the secret key—both will be needed when creating the Windows Phone application.

Later, we will talk about Facebook C# SDK, but now...