Log in

View Full Version : Developers: All About the Accelerometer in Windows Phone 7


Brad Wasson
09-10-2010, 02:00 AM
<div class='os_post_top_link'><a href='http://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/09/08/using-the-accelerometer-on-windows-phone-7.aspx' target='_blank'>http://windowsteamblog.com/windows_...ws-phone-7.aspx</a><br /><br /></div><p><em>"When Windows Phone 7 is released, users will be able to enjoy the fact that the hardware requirements for the phone include an accelerometer. Some applications are naturally inclined to work well with accelerometer input. Imagine a "Labyrinth" style game where you can now just rotate or tilt the device instead of simulating the tilting of the table using some buttons or sliders? Just rotating the device from portrait to landscape can re-flow the screen in the right orientation without the user selecting their preferred orientation."</em></p><p><em><span><img src="http://images.thoughtsmedia.com//wpt/auto/1284083666.usr110171.png" style="border: 1px solid #d2d2bb;" /></span></em></p><p>Windows Phone 7 hardware requires an accelerometer, and I for one am interested in seeing what developers will do with that requirement. Over at The Windows Phone Developer Blog Dave Edson has written a fairly detailed post about the ways the accelerometer API can be used. The post includes code snippets that illustrate key aspects of the API. Now would also be a great time to get started developing an accelerometer-leveraging application - it appears Windows Phone 7 <a href="http://windowsphonethoughts.com/news/show/100114/windows-phone-7-one-month-to-go.html" target="_blank" title="Windows Phone 7 Release Date">release day</a> is just around the corner. Get coding!&nbsp;</p>