Check the orientation of the display

Hi all, I have the following code

onCreationCompleted: {
      OrientationSupport.supportedDisplayOrientation = SupportedDisplayOrientation.All;
}

And I am able to launch this page on two directions, but I do not understand how to check in what direction of the page was launched. Any help?

I found the solution by adding these lines of code

onCreationCompleted: {
    if(orientHandlerID.orientation == UIOrientation.Landscape)
...
}

Tags: BlackBerry Developers

Similar Questions

  • In Windows Media Player 11, album art 'disappeared' the display of album content.

    I've lost the ability to see a "covers" album when in the (what I call) 'track view information of content"(found by selecting library-> library-> music-> artist, then album).

    ("Follow the display of the information content" is the view which lets you modify the columns that display track info for example of note, length, type and many other "choose columns)  In fact, under "Choose columns" the 'Album Art' box is grayed out.

    So, how can I get that back? Maybe I've changed something, but I have no idea.

    I'm running XP (SP3).

    Thanks in advance.

    Eric

    Must be something changes, I don't know what.

    I meant button just to the left of the search box, sorry.
    "JRosenfeld" <*** email="" address="" is="" removed="" for="" privacy="" ***="">writes in the new message: * e-mail address is removed from the privacy... *

    Check the display (button just to the right of the search box), click expanded tile

    writing in the new message: * e-mail address is removed from the privacy... *

    I've lost the ability to see a "covers" album when in the (what I call) 'track view information of content"(found by selecting library-> library-> music-> artist, then album).

    ("Follow the display of the information content" is the view which lets you modify the columns that display track info for example of note, length, type and many other "choose columns) In fact, under "Choose columns" the 'Album Art' box is grayed out.

    So, how can I get that back? Maybe I've changed something, but I have no idea.

    I'm running XP (SP3).

    Thanks in advance.

    Eric

    Must be something changes, I don't know what.

  • The display turns off after a few minutes and shows 'No Signal'

    Hey guys, I was faced with a weird problem recently. My desktop monitor turns off by itself after a few minutes, but the works of CPU, I can hear the fan running and see the lights blink. One thing I noticed, is that when the screen turns off, the light Orange on the processor rest on which flashes normally just. My PC works normally on the mode without failure, but worse, safe mode, but I can't work on my software CorelDRAW. This may be the problem of SMPS? because recently, my entries of mouse and keyboard did not work due to which I got a USB keyboard and a mouse. I recently installed Windows 7 64 bit, but I think that shouldn't cause the problem since I have worked with Windows 64-bit before on the same machine.

    PC configuration-

    Intel Core 2 Duo 4500 @ 2.20 Ghz processor
    ASUS P5QPL-AM motherboard
    3 GB RAM
    No (not sure, maybe integrated) graphics card
    1 TB harddrive

    PS - I couldn't find an exact category for my problem.

    Hey Archer
    Currently, I formatted my Windows 7 and installed Windows 8 and am these problems persist. I have not upgraded but formatted my C drive and installed a fresh new copy of windows 8... so I thnk it may be a problem of the SMP. Can he?

    Hi sunny

    It can or mentioned being SMPS... the reason is... you have already said that the computer or the monitor works fine in safe mode! But since his past even when you install Windows 8,
    To make troubleshooting a
    1. go to the Bios and reset all default by selecting the optimum setting in the bios... Given that your motherboard has got characteristic overclocking and selection of the IGD... let him get by default...  Start the computer and check if the monitor turns off always.
    2. If step 1 does not solve your problem... then go to the power option in the control panel and select your power setting of the high-performance system where you can set your monitor to never go to sleep.  See what's happening... If the monitor still going to sleep even after this setting... then you have a problem with drivers or the motherboard... try updating the drivers and see if that helps.
    3. If the update of drivers did not help... so the next option is to review your material... try to get a replacement screen and see if this could solve this problem... A things you can deduct that if this also fails, then the obvious reason is that your monitor is ok... and problem must be the motherboard.
    4. Firstly check the display port... does it feel loose?
    a. do you have this port pins come out?
    b. your motherboard has two power connections (EATXPWR 24-pin and a 4-pin ATX 12V... are both connected?
    c. your SMP should be at least 400W according to recommendations from the manufacturer to you. Check this box...
    d. then ofcourcse obviously... Reinstall the Rams and other external devices.
    Follow these steps and let me know your comments for each
  • Error message "Photoshop has encountered a problem with the display driver and proposes improvements temporarily disabled graphics hardware user."

    I check the display driver that I have and that is Intel HD P4600/P4700.  It is a driver supported by Adobe, according to Adobe's Web site Adobe Photoshop CC GPU (graphics processing unit) and card video FAQ.  What should I do?  Furthermore, I don't need video improvements.  I am running Windows 8.1.

    It's your graphics card that is supported but always your graphics card drivers may be outdated and that could be the cause of this error message.

    You should be able to download the latest drivers from site Web of Intels graphics card.

    This error message means that he has temporarily disabled GPU enhancements which means filters and features requiring an implication of GPU would not work.

  • The Orientation of the display locking force

    Hi, I am currently using Ui.getUiEngineInstance () .setAcceptableDirections (Display.DIRECTION_PORTRAIT) to lock the screen in portrait mode. It works fine if I start my application, the BlackBerry is in portrait position (stays of the display in portrait mode even when I change the orientation of the device in landscape mode), but when I start my application in landscape position, the fields on the screen become a mess and I need to change the orientation of the device to portrait before he become the locked in this position.

    Is there a way of force / set the display in portrait mode, when the application is started landscape orientation?

    Hi alfonsn,

    Check out this link...

    http://supportforums.BlackBerry.com/T5/Java-development/disable-screen-auto-rotation/m-p/1028509#M15...

    ------------------------------------------------------------------------------

    Please click "Accept the Solution" for positions that offer the solution to the question you posted. Not to say 'Thank you', press 'Like' button above!

  • If someone checks the mail from yahoo to my computer, their code is displayed if the first letter from my ID is the same with theirs. How can I delete their history on my computer?

    If someone checks the mail from yahoo to my computer, their code is displayed if the first letter from my ID is the same with theirs. How can I delete their history on my computer?

    Hey ioanaatc,

    Go in Tools > Options > Security tab click on passwords saved. This will give you a list of sites that you have saved passwords yahoo just find and delete other connections

    There are a lot of useful information in this article on the Firefox Password Manager. He should answer any other questions you might have.

    It can be saved as Auto form fill data. If this is the case, the article I just linked will show you you how to remove these entries as well.

    Hope this helps!

  • Tecra M3 dark display, checked the usual problems

    Hello

    My M3 went dark, it flickered on and off for about a week and then completely dark. I still work if I get the right angle and an external monitor is fine.

    If haven't tried a new cable from the screen, no difference and a new inverter, also no difference.

    Sometimes if I switch between views (Fn + F5) I can get the display works fine, but as soon as the screen is turned off for some reason it won't once again.

    I also re-greased the heatsink on the NVidia chip.

    And I checked the backlight by plugging a converter working on another laptop.

    I have a M1 and there is a relay type sound when something has changed on the screen, I can't remember if the M3 never makes a similar sound, even if I used it for about 5 years.

    I also saw that he suggested that he might think that the cover is closed, I don't know how the M3 detects that the lid is closed.

    Any suggestion or help would be welcome.

    > My M3 went dark, it flickered on and off for about a week and then completely dark. I still work if I get the right angle and an external monitor is fine.

    This means that the graphics card chip was Ok, which means that it could be a display problem
    I doubt that it ups s related question. If FL inverter would be defective, then you'd see everything on the screen, but everything would be visible behind a thick fog.

    Of course, it s that my personal opinion and nobody would be able to tell what dysfunction part without running any hardware, test procedures
    Then maybe you should ask a support technician

  • Satellite A110 - question on the Orientation of the display

    The A110 view changed abruptly from landscape to Portrait (I must have done something!) How can I get that back to landscape please?

    Jim Crawford

    Turn to normal: CTRL + ALT + UP
    Rotation 90 °: CTRL + ALT + LEFT
    Rotate 180 degrees: CTRL + ALT + DOWN
    Rotation of 270 degrees: CTRL + ALT + RIGHT

    This info you can find in the display properties Intel on the KEYBOARD SHORTCUTS tab. Check it out!

  • Unable to display the results of a detailed report or the results of a questionnaire which is inbedded in the project.  I checked the preferences of quiz and enabled for the draft declaration.  I use SCORM 1.2.  My LMS is not listed (MCN) and so I chose '

    Unable to display the results of a detailed report or the results of a questionnaire in a bed within the project.  I checked the preferences of quiz and enabled for the draft declaration.  I use SCORM 1.2.  My LMS is not listed (MCN) and so I chose 'other LMS standard.  Any ideas on why I see the results?

    Publish your SCORM SCORM Cloud and test if it will show you the results you want.  If so, then your problem is with your LMS.  If this is not your problem may be due to something in the settings of your current project.  Eliminate one thing at a time.

  • Unable to run automatic checking of the display colors using command/usr/openwin /.

    Hi all

    OS: Solaris 11 x 86-64
    DB: 11.2.0.3

    I am trying to install the infrastructure grid + Oracle db 11.2.0.3 on a Solaris 11. I'm used to working with Red - hat, so I don't remember having such a problem. The problem is, when you try to execute "runInstaller" as user oracle:
    Checking Temp space: must be greater than 180 MB.   Actual 1527 MB    Passed
    Checking swap space: must be greater than 150 MB.   Actual 2104 MB    Passed
    Checking monitor: must be configured to display at least 256 colors
        >>> Could not execute auto check for display colors using command /usr/openwin/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<
    
    Some requirement checks failed. You must fulfill these requirements before
    
    continuing with the installation,
    
    Continue? (y/n) [n] n
    
    User Selected: No
    Doing some research, I found that the solution to this problem would be to install SUNWxwplt package. As you can see below, I have installed all required packages:
    root@sol11:/mnt/sf_Compartilhamentos# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibms SUNWpool SUNWpoolr SUNWsprot SUNWtoo SUNWlibm SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw SUNWxwplt
    system      SUNWarc                  Lint Libraries (usr)
    system      SUNWbtool                CCS tools bundled with SunOS
    system      SUNWfont-xorg-core       X.Org Foundation X11 core fonts
    system      SUNWfont-xorg-iso8859-1  X.Org Foundation X11 iso8859-1 fonts
    system      SUNWhea                  SunOS Header Files
    system      SUNWlibm                 Math & Microtasking Library Headers & Lint Files (Usr)
    system      SUNWlibms                Math & Microtasking Libraries (Usr)
    system      SUNWmfrun                Motif RunTime Kit
    system      SUNWpool                 Resource Pools
    system      SUNWpoolr                Resource Pools (Root)
    system      SUNWsprot                Solaris Bundled tools
    system      SUNWtoo                  Programming Tools
    system      SUNWuiu8                 Iconv modules for UTF-8 Locale
    system      SUNWxorg-client-programs X.Org Foundation X Client Programs
    system      SUNWxorg-clientlibs      X.Org Foundation X Client Libraries
    system      SUNWxwfsw                X Window System platform required font software
    system      SUNWxwplt                X Window System platform software
    I also configured the DISPLAY env, and here's where I think I'm doing something wrong.
    -- as oracle user (my statis ip is 192.168.0.20)
    -bash-4.1$ export DISPLAY=192.168.0.20:0.0
    -bash-4.1$ xhost +
    xhost:  unable to open display "192.168.0.20:0.0"
    I think I made all the necessary configurations (?). So, where, what Miss me?

    Thanks in advance.

    Fabricio_Jorge wrote:
    Hello. Thank you for your attention.

    You see, I installed Solaris 11 on a VirtualBox env (only for the objective test), and I'm connected locally on the virtual computer (make sure you don't connect do not). I installed Solaris with gnome, so I'm now working on a GUI Solaris 11.

    The strange is that the xclock binary is not found (through research).

    You must open directly as an oracle user OS.
    YES fails if you like below

    Su - oracle

  • Check if the value of the DISPLAY variable - failed

    Hi friends,

    When installing oracle * 11 g R2 in Linux (Red Hat) 5 * I am facing some problems related to the DISPLAY affecting some Java attack on exception during launch 'runInstaller '. Please check below.
    I did face related questions before as well, but after setting the DISPLAY variable before start of installation (YES) always to avoid these problems, tried the same steps this time as well, but "no chance."


    =============================================================================================
    [data oracle@localhost] $. / runInstaller
    From Oracle Universal Installer...

    Check the Temp space: must be greater than 80 MB. Real 7440 MB passed
    Check the swap space: must be greater than 150 MB. Real 2527 MB passed
    Monitor: must be configured to display at least 256 colors
    > > > Could not execute auto check for display colors using command/usr/bin/xdpyinfo(1). Check if the DISPLAY variable is set. Failure of < < < <

    Audits of the requirement has failed. You must meet these conditions before

    continue with the installation,

    Continue? (y/n) [n] n

    Prerequisite required Ignoring failures. Persistence of...
    Preparations for the launch of Oracle Universal Installer from/tmp/OraInstall2012-05-12_01-26-43 PM. Please wait... [data oracle@localhost] $ Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.Class.forName0 (Native Method)
    at java.lang.Class.forName(Class.java:164)
    in java.awt.Toolkit$ 2.run(Toolkit.java:821)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    at com.jgoodies.looks.LookUtils.isLowResolution (unknown Source)
    to com.jgoodies.looks.LookUtils. < clinit >(Unknown Source)
    to com.jgoodies.looks.plastic.PlasticLookAndFeel. < clinit > (PlasticLookAndFeel.java:122)
    at java.lang.Class.forName0 (Native Method)
    at java.lang.Class.forName(Class.java:242)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
    at oracle.install.commons.util.Application.startup(Application.java:758)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
    =================================================================================================


    Current setting (values):
    [data oracle@localhost] $ echo $DISPLAY
    localhost.localdomain:0.0



    [root@localhost database] # echo $DISPLAY
    : 0.0
    [root@localhost database] # xhost + localhost.localdomain
    localhost.localdomain being added to access control list
    [data oracle@localhost] $ export DISPLAY
    [data oracle@localhost] $ echo $DISPLAY
    : 0.0

    Then follows the error message on the display settings and a trail of Exceptions Java (provided above)


    Help, please.


    Thank you
    Prashant Dixit

    Prashant_Dixit wrote:
    Hello

    Thanks for the reply - I received a system clock analog once I've run 'xclock' command as long as user root, but received an error message when even tried with the "oracle" user

    What EXACTLY do you (differently?) between the time where you succeed as a 'root' & fail as 'oracle '?

    I can assure you that xclock will fail if you use "su" as below

    Su - oracle

    You need TO connect DB Server system DIRECTLY as user 'oracle' with X 11 active transfer OS

  • I try to download an application to Grants.gov federal grant package.  I upgraded to the latest Adobe Player and checked the settings of Google chrome.  Whenever I try to download the package I get a blank page with this message: to display the

    I try to download an application to Grants.gov federal grant package.  I upgraded to the latest Adobe Player and checked the settings of Google chrome.  Whenever I try to download the package I get a blank page with this message: to view all of the content of this document, you need a later version of the PDF Viewer. You can upgrade to the latest version of Adobe Reader from www.adobe.com/products/acrobat/readstep2.html for further support, go to www.adobe.com/support/products/acrreader.html.  Please tell us how to solve this problem.  Thank you, Davis B

    This means that you use the viewer of PDF from Google Chrome, which is not compatible with many PDF features.

    You need to download the file to your local drive and open it from there, or use the Adobe Reader on Chrome plugin: http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • I have reset default firefox but the BBC website opens OK but will return to the display of the text when I click on a link.

    (Newish laptop so I'm not really familiar with operating systems (Win 8.1 I think) and more) Initially, my BBC homepage opened OK in Firefox, but after a period, he began to view a text version. This can be temporarily cured by restoring the default Firefox (Firefox / help / troubleshooting information / restore Firefox) but as soon as I click a link on the page of the BBC, it is up to the display of the text. Is there a way I can solve this problem. Other sites seem to be working properly.

    It's a problem of missing style sheet. If you have modules like Adblock Plus installed, first of all, try to start Firefox with the disabled modules and check if the problem persists.

    Otherwise,.

    1. Hold down the ALT key and press V to open the view menu. Open the submenu Style Page and make sure that "Basic Page Style" is selected.
    2. Clear the cache.
    3. Remove the cookies from the site in question.
    4. If the problem persists, see
  • MacBook Pro &amp; Samsung Smart TV: could not get the display via HDMI

    Hi Forum members,

    I'm not able to get the display of macbook to smart tv via HDMI cable.  Here are some of the conclusions that I have. Can someone please shed some light on this weird question.

    MacBook Pro Rentina 13 "El Capitan 10.11.5.

    Samsung Smart TV 48 "UA48J6200

    Crush - HDMI cable.


    -TV says 'No Signal'.

    -J' checked the cable is good since I'm able to get my Dell Latitude processors E7450 and controller display.

    -Go to Preferences > display. I see no possibility to detect the display etc...

    -Able to connect same macbook to the sony smart tv at my friend using the same cable and it's all good.

    At this point, I am not able to understand where is the problem... TV or Macbook

    Thank you.

    Hmm. Have you tried to get your friend or someone connect to your Samsung Smart TV?  It does seem like your Macbook or the cable are the issue.

    Edit: actually re read your post. I think that to see the option detect go to Preferences > poster under view press on and hold down the option key. bottom right, it should appear.

  • When I switch to a new tab in my gmail Inbox, the display will show 2 windows

    example: an open message, gmail displays a list of available products. Then I open a new tab and select a bookmarked site which reviews these products. at this point, the screen is divided into two windows: one, a narrow window showing views; and the other, a wide window showing the message from gmail.

    This also happens when I open a new tab and click on the review marked a bookmark site.

    This question may seem vague because I want to keep my gmail and bookmark sites for security reasons.

    This has nothing to do with the display of bookmarks in the sidebar, but with the creation of bookmark that loads in the sidebar instead of in the main window.

    You should not place a check mark in the box "load this bookmark in the sidebar".

  • Firefox bookmarks bar does not allow me to drag-and - drop Web site icons. I went into the display and click on "bookmarks bar".

    Firefox bookmarks bar does not allow me to drag-and - drop Web site icons. I went into the display and click on "bookmarks bar". bookmarks bar but her but its not allowing me to drag and drop the icon on the toolbar. I tried everything it is supposed to do, but his does not work. his frustration.

    Stef. /. \

    Make sure the toolbars like the toolbar 'Navigation' and the 'personal bar' are visible.

    • View > toolbars
    • Right click on empty toolbar space

    Use the toolbar (Customize) to open the Customize and set the toolbar to display items.

    • Make sure the "bookmarks toolbar items" are on the personal bar
    • If "Bookmarks Toolbar items" is not on the bookmarks toolbar, then FRY it in the palette of the toolbar in the window the bookmarks toolbar Customize
    • If the missing elements are in the toolbar palette then drag them from the window, customize the toolbar
    • If you do not see an item on a toolbar in the toolbar palette and then click the button "Restore default" to restore the default toolbar configuration

    You can check the problems caused by a corrupt localstore.rdf file if the above didn't help.

Maybe you are looking for