O'Reilly logo

Migrating to Windows Phone by Jeff Blankenburg, Jesse Liberty

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

CHAPTER 9

Image

Get Oriented: Interacting with the Phone, Camera, GPS, and More

When you hold a modern mobile phone in your hands, you are a holding a sophisticated and complex system of sensors, hardware, and software—all working in harmony. It's easy to forget that just a few short years ago, each of these “parts” had its own API, and that it was up to the developer to figure out how to make it work.

With Windows Phone, the operating system provides a rich set of integrated APIs for you to use in your application when you want to know the device's location (GPS), orientation (compass, accelerometer and gyroscope), or surroundings (the camera). In ...

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

Start Free Trial

No credit card required