Welcome to the Windows Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 4 of 4
  1. Ritesh Singh1's Avatar
    Member

    Posts
    3 Posts
       #1  
    hi
    I have deployed a application in nokia lumia 820. but the screen rotation is not working . At the phone level the screen rotation is working but in my app it is not working ..how to resolve this problem.....?
  2. theomodsim's Avatar
    Developer

    Posts
    55 Posts
    Global Posts
    145 Global Posts
    #2  
    You need to set the SupportedOrientations property on each page that you want to enable rotation on to PortraitOrLandscape.
    My apps:
    Share your phone's internet connection with other devices: ConnectionShare
    Google Cloud Printing from your phone: KumoPrint
    Multi-language offline dictionary application: HoshiDict
    Browser with integrated translation and word lookup tools (perfect for language learning): Tap2Trans Browser
  3. Daniel Ratcliffe's Avatar
    Retired Moderator

    Posts
    2,818 Posts
    Global Posts
    4,474 Global Posts
    #3  
    screenshot-44-.png

    Just below that is where you place your content.

    [TIP]Different pages have different ideal orientations. SupportedOrientations is how you do this. Here are your options
    • Portrait - Portrait locked. Good for intro pages tbh. This is where the phone is taller than wider
    • Landscape - Landscape locked. Useful for widescreen content. Phone is wider than taller.
    • PortraitOrLandscape - Allows either. Useful for pages requiring the keyboard.

    [/TIP]

    "Fortune cookie said: 'Outlook not so good'. I said: 'Sure, but Microsoft ships it anyway'."
  4. Ritesh Singh1's Avatar
    Member

    Posts
    3 Posts
       #4  
    Thanks for the reply..

    I have set the SupportedOrientations as portraitOrlandscape . Not the screen is able to rotate both in portarait and landscape as well. but when i am rotating the screen in landscape mode then the width of screen is reduced. in landscape mode the width of screen is same as the width of screen in portrait mode.........(In the main XAML page there is one browser and one vedio brush(for base camera)..i am collapsing the browser when camera feature is called and collapsing the vedio brush while opening the browser...)Can you tell me why it coming like this and how to resolve this problem

Similar Threads

  1. How to remove a playlist in Nokia Music?
    By Behrooz Zirak in forum Nokia Lumia 920
    Replies: 4
    Last Post: 05-13-2014, 09:35 AM
  2. How to take a screenshot on Nokia Lumia 920
    By Chris Parsons in forum Nokia Lumia 920
    Replies: 19
    Last Post: 11-11-2013, 08:03 AM
  3. Replies: 1
    Last Post: 02-19-2013, 06:11 AM
  4. How to enable app search boxes in Titan?
    By WPUserInTX in forum HTC TITAN
    Replies: 3
    Last Post: 11-26-2011, 09:11 PM
  5. How to keep screen on when plugged in?
    By RockPaperBFG in forum Windows Phone 7
    Replies: 3
    Last Post: 08-15-2011, 04:34 PM

Posting Permissions