Windows Mobile 6.x How to explicitly lock the app in one orientation?

Posted by Stuart on Stack Overflow See other posts from Stack Overflow or by Stuart
Published on 2010-04-10T20:44:25Z Indexed on 2010/04/10 20:53 UTC
Read the original article Hit count: 189

Filed under:
|
|

I'm trying to get an app on the WinMo App Store.

As part of this, Microsoft App's Store has asked that I need to support landscape as well as portrait.

What they've said is OK is:

  1. If dynamic switching is implicitly allowed, the app will be tested just as if it supports both portrait and landscape even if only a portrait or landscape resolution is checked.

  2. You may explicitly lock the app in one orientation (which means portrait mode if the app does not handle landscape mode functions), provided the default OS orientation is preserved once the app exits.

I'd love to do answer 2 - but I can't find any way of doing it - and they won't provide me any other clues - they suggested I ask on the forums... so here I am on Stack Overflow - far better than on the forums :)

Anyone got any suggestions?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about mobile