locked
Device Orientation Change trigger Event without PageOrientation change

    Question

  • Hi!

    I have a MainPage with some Pivot Pages. On one of the PivotItems there is a List of Locations displayed. On that item if the user turns the device I want to load a new PhoneApplication Page with a map showing the Locations with PushPins.

    How to achieve? If  I turn the SupportedOrientations to "PortraitOrLandscape", the whole Page will automaticly redraw (but it should always stay in Portrait Orientation for all other PivotItems), if I turn SupportedOrientations only to Portrait the OrientationChanged Event will not fire...

    Only solution to directly read the accelerometer?

    btw, its all on the Emulator not real device

    thanks in advance :)

    Frank

    Friday, October 28, 2011 2:32 PM

Answers

  • Hi Frank,

    It sounds like you are writing a Windows Phone application, not a Metro style app for the Windows Developer Preview.  If so, please post your question in the App Hub at http://create.msdn.com .  This forum is for developing Metro style apps for the Windows Developer Preview.

    --Rob

    • Marked as answer by moin_krumnow Monday, October 31, 2011 8:26 AM
    Friday, October 28, 2011 3:05 PM
    Moderator