O'Reilly logo

Beginning Windows Phone App Development by Eugene Chuvyrov, Henry Lee

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

C H A P T E R  6

Working with the Accelerometer

An accelerometer has many practical uses for applications that depend on the movement of a Windows Phone in three-dimensional space. With data from an accelerometer, you can steer a simulated car in a driving game or fly a plane in a flight simulator. You can capture motion such as a shake, punch, swing, or slash and mix this accelerometer data with a physics engine to create Wii-like games. Just for fun, you can build novelty applications to amaze your friends, such as a light saber simulation that makes Star Wars sounds as you swing your phone in the air. An accelerometer can even be used for business applications, such as a level for hanging a picture frame. Under the covers, the controller ...

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