Sunday, March 21, 2010

How to determine orientation of Windows Phone 7?

Programmer Question

How can you tell whether the device is oriented vertically (portrait) or horizontally (landscape)?



Is there an API that simplifies this or do you have to make the determination "by hand" using the accelerometer?



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails