Book Image

Windows Phone 7.5 Application Development with F#

By : Lohith G N
Book Image

Windows Phone 7.5 Application Development with F#

By: Lohith G N

Overview of this book

Windows Phone is an OS which is also a platform in itself and provides an opportunity for application developers to build their apps and sell them on the Windows Phone Marketplace. Windows Phone is slowly catching up in the race with iOS and Android. Although well suited for scientific and mathematical calculations, the Windows Phone Platform provides an opportunity to program in F#. "Windows Phone 7.5 Application Development with F#"  focuses on making the user aware of Windows Phone App Development with the F# programming language in as short a time as possible. The book teaches you about the development environment, helps you understand the project structure, understand the controls, and ends with some of the cool features of the platform like sensors, launchers, and choosers. The book starts off with enabling the user with the right tools required to start developing. It focuses on getting the IDE ready, and project and item templates. By the end of the book the user will be familiarized with the different aspects of the platform itself. The transition from one chapter to another is short and focused so that you can get to the meat of the topic quickly.
Table of Contents (16 chapters)
Windows Phone 7.5 Application Development with F#
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
4
Windows Phone Screen Orientations
5
Windows Phone Gesture Events
7
Windows Phone and Data Access
Index

Orientation


With Windows Phone being a handheld device, the user has all the freedom to turn the device upside down or rotate the device to the left or right. The behavior of turning the phone upside down or rotating it to the left or right is technically termed as orientation in Windows Phone development. As a Windows Phone application developer, you are supposed to take care of the orientation effects in the app you develop. You need to decide whether you would like your app to react to the orientation changes or not. To provide a better user experience, it is a best practice to include the orientation aspect while designing the app.

Types of orientations

Windows Phone supports three possible orientations on the device. They are:

  • Portrait

  • Landscape (left)

  • Landscape (right)

Portrait orientation is nothing but the vertical positioning of the content, that is, when the phone is held straight up. In the portrait orientation, the screen resolution is 480 x 800 px. 480 x 800 px is a standard screen...