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!

Tags: BlackBerry Developers

Similar Questions

  • Double click on the ios10 lock screen does not display Apple pay even if it is enabled in the settings

    Double click on the ios10 lock screen does not display Apple pay even if it is enabled in the settings.

    Hello JPMain,

    Thank you for using communities of Apple Support. I understand Apple pay is not an option when the double click the Home button. I know access pay Apple for a locked screen can do so useful everyday. I'm happy to help you to get this resolved with you.

    I recommend first restart your iPhone. This can solve many unexpected behaviours. Follow the steps below if necessary.

    1. Press and hold the sleep/wake button until the Red slider appears.
    2. Drag the slider to turn off your device completely off.
    3. Once the device turns off, press and hold the sleep/wake button again until you see the Apple logo.

    Restart your iPhone, iPad or iPod touch

    If the problem persists, the next option would be to reset all settings. It takes all the defaults, including passwords and Wi - Fi networks, alerts, notifications, brightness, wallpaper and sounds. This will also remove your cards Pay of Apple. Even if no content is lost with this step, it is always a good idea to back up first. If you do not have a recent backup, use the following link for assistance if necessary.

    The backup of your iPhone, iPad and iPod touch

    Once you have correctly saved, reset all settings in settings > general > reset > reset all settings.

    Have a great day!

  • Apple Watch sport does not work correctly. The display is 'crazy' once or twice a week and I need to force restart it. Do you know what is happening with the watch? Is this a common failure?

    Apple Watch isn't working properly. The display is to be 'crazy' once or twice a week. And I need to force restart it. Is this a common failure?

    Hello

    This isn't a failure or defect.

    Zoom (an accessibility function) has been activated on your watch and you are zoomed accidentally tapping on the screen in a particular way.

    • To turn off the Zoom:
      • On your iPhone, in the application of the watch, go to: My Watch (tab) > general > accessibility > Zoom - put it off.
      • Or on your watch, go to: homescreen (via a simple press on the digital Crown) > (cog icon) settings > general > accessibility > Zoom - tap and enable / disable.
    • If the accessibility shortcut has been enabled and configured for the Zoom, you can also enable and disable functionality more conveniently:
      • On your watch: quickly press the digital Crown (the round button) three times.
    • To set up accessibility shortcuts:
      • On your iPhone, in the application of the watch, go to: Watch My > general > accessibility > accessibility shortcut (bottom) > select / deselect Zoom.
  • Then the display turns off I can't get it back without force restart

    When the display switches off the power due to the low battery power & I can't get this back even when I plug it into the sector and having to force the computer to restart.
    Is there a pref somewhere to turn it off?

    Hello

    When the screen turns off, exactly? How much capacity has battery at the moment? 5 % ? More?
    Try to higher level.
    When you work with your laptop and the battery level is low battery and the alarm alert will appear in the taskbar, but you will be able to continue your work several minutes or connect the power running.

    I'm afraid that your laptop reaches the critical battery level and then maybe is too late for any action.
    Set the low battery level to 10% and when the notification is shown connect power adapter immediately.
    I imagine that the screen doesn't have to be out of all.

  • cq58: Hello, my HP is locked because my child tries to open it. the display code is 53822445 THANKS a lot!

    Hello, my HP is locked because my child tries to open it. the display code is 53822445 THANKS a lot!

    Hello

    Enter: 42780481

    Kind regards

    DP - K

  • How to force the display of user account control to run the scheduled task

    I have User Account Control setting on notify me when a program wants to make changes to my computer (the recommended setting).

    I created a scheduled task: create a restore point, using a software called Quick Restore Maker. User accounts in the program control screen comes up and stays on, ends by closes but ends the program. As I'm not at the computer when running task, I can't cancel the screen. The display ends by disappears, but the program itself does not run.

    So the question is: How can I force screen UAC a program to run without changing the UAC universal computer settings that would allow any program to change my computer without any intervention from me?

    Thanks for your help.

    There is no way around the need for approval of Admin indicated by the parameter of the UAC.

    Reduce the level of UAC would be the only thing you can try, but I understand that this would not be a safe way to proceed for normal operation.

  • Where is the setting to display a notification indicating that the "CAPS LOCK" is activated, any type of program is used?

    Where is the setting to display a notification indicating that the "CAPS LOCK" is activated, any type of program is used?

    Original title: CAPS LOCK.

    Where is the setting to display a notification indicating that the "CAPS LOCK" is activated, any type of program is used?

    There is no native parameter.  Is your keyboard led (if she has a) can be used, OR use a third party program if your keyboard does not have cpome with indicator software (probably it didn't it.)
     
    http://www.georgejopling.co.UK/CapsLock/CapsLock.html

    (Maybe that will do it for you...)

  • Is it possible to lock the display on a PDF file for other users?

    I created a PDF form with an attachment. Is it possible to lock the display list is attached, so that when the form is sent to others, they will automatically see the attachments?

    Evergreen Environmental salvation,

    One option is to put on the first page of the PDF to view the attachments Panel:

    1. Choose file > properties.
    2. Click the initial view tab.
    3. Choose the attachments Panel and Page from the context menu of the Navigation tab.
    4. Click OK.

    Let us know how it works for you!

    Best,

    Sara

  • How to publish a PDF on the web and force download/display / offline (and not only not to show the viewer of browser)

    Attempt of a PDF document on the web, I cannot embedded SWF banner in the browser Viewer, as they work very well in offline mode (see query in another ad http://forums.adobe.com/message/5376442#5376442, for which I would appreciate your comments as well).

    See my PDF here: https://www.dropbox.com/s/lg2zzgho5qn6b61/Regiobrandingatelier%20%28ve rsie%202%29.pdf

    To work around I could also force their users to download the PDF file to view in offline mode, as opposed to consultation in the browser window, but how do you do that?

    Thanks in advance for any assistance received.

    Kind regards

    Robert

    1. Rich Media Annotations display depends on the rendering software; many browsers have their own PDF tools (Firefox, Chrome, etc.) who have no support for RMA and Flash, so a rendering of your file is ultimately at the mercy of know if your consumers will install Adobe Reader, and if their browser took over the display file format PDF. You cannot influence that, nor can you realistically even detect.
    2. Make a PDF file (or other) shows a prompt to download/record rather than be displayed online is done by sending the extra HTTP headers (setting a Content-Disposition entry). This requires changes to the Web server, either with a direct configuration from the server (via a .htaccess file) or by providing the PDF through a program of wrapper in PHP, ASP etc., which adds the additional headers. Nothing on the file itself will change how it is served.
  • 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!

  • Why my caps lock icon leave the display on the screen.

    When I pressed unlock it on caps lock or a lock icon would show on the screen. Now, she and the number lock icon both leave with. How can I fix it?

    Hello

    You can contact Acer support and support team for assistance.

  • Updated my phone to iOS 10.0.2. The auto lock feature disappeared from the General settings. Where is it now?

    Updated my phone to iOS 10.0.2. The auto lock feature disappeared from the General settings. Where is it now?

    You will find the auto lock settings in settings > display and brightness.

  • Downloaded 10.0.1 and now do not have automatic locking. How can I activate the automatic locking, my devices will not turn

    Where is Auto-Lock in 10.0.1 update?

    The new version 10.0.1 moved the Auto-Lock. Automatic locking is now at:

    1. Parameters
    2. Display & brightness
    3. Auto-Lock.
  • Qosmio F750 - how to disable the user locking after the closure of the laptop?

    Hello

    I have a Qosmio laptop, F750 and I would keep it active after the closing of the screen keyboard. At the time you close the screen that the user is locked and my remote via WiFi connection does not recognize the laptop is ON more.

    I use iTunes with their Remote app to control music on the laptop and want to have the laptop running in the background with the display closed, but as soon as I do this I lose the connection.
    I disabled the hibernation in the power settings, but this only works if the screen remains open.

    Any help would be appreciated.
    Thank you

    Which is really strange.
    When you open the power settings in the Panel on the left side you will find the option choose closing the cover. Set it to do nothing and to test it.

    > and want to have the laptop running in the background with the display closed
    Why? Leave it open. The key is that the screen is off and you can assign parameters of energy too.

  • Satellite Pro M70-113: cannot install Vista graphics driver and lines appears on the display

    Hello

    I have satellite pro m70-113 with ati x 700 graphics card.

    When I installed vista, he installed the default drivers for the x 700 'mobility radeon x 700-microsft Corp.-WDDM '.

    I've updated the display drivers for vista, that released by toshiba 2 days back... but the driver is not updated to the latest version, only the catalyst control center is installed when I ran the update of the driver of toshiba.

    The problem is that whenever I put my laptop in standby or hibernation and resume... the screen shows thin lines vertical/horizontal... and I can't use the laptop... and I have to still put the system to sleep, just to hope that it is not blocking the screen this time...

    This problem is 25% of the time only when resume...

    This problem is not resolved by the update driver for toshiba has released a few days back... as is not installs the drivers (I can't even install the drivers with the option "update drivers" of Device Manager and select file driver update from toshiba.) It says windows find new driver, but could not install the driver... Contact the manufacturer...)

    This snap shows the problem... : http://img360.imageshack.us/img360/2783/12042007366copyod1.jpg

    I updated the driver from an earlier version of catalyst, as it is downloaded from the ati site before that toshiba has released the update... this time it updates some 8. XXX version but the screen problem remains...

    Second, this update of the driver leaves me not sleep my system... the process starts for a sleep, but go back to the locked screen without making sleep ever... so I have no choice to get stuck with the default Windows... drivers having only the problem of the screen... and not the problem of sleep...

    Anyone here with a solution?

    Thank you.

    Hello

    I have Satellite M70-159 and I noticed the same thing several times. For most Vista works well but I don't remember cases in which the described problem occurs. I was just curious on M70 Vista and have had no time to intensive testing.

    Anyway, it will be interesting to know if you have already updated the BIOS to the latest version 5.10. If this is not the case to do this and watch carefully if the problem persists.

Maybe you are looking for

  • 3110CT: problem starting LI_

    Hi all.I searched on the web and the forums, but found no clue to my problem. My 3110CT suddenly refused to start after the password dialogue. The only thing shown is a white screen and the letters LI followed by a flashing underscore cursor. Each ke

  • 0xe0ef000e on hp Pavilion dm4 error code

    Hei.I have a new hard drive on my hp pavilion dm4. The recovery cd do not work and do not work the free image click on the two see the error 0xe0ef000e box. What can I do?Thank you

  • FPGA wave sinusoidal generation discontinuity

    Hi all I have a question about the generation of sinusoidal waveform FPGA: the generated waveform has unknown non-periodic discontinuity. I want to know where it was generated and how to solve it. As you can see on my FPGA code below, I generated ref

  • Firewall of Windows Vista does not

    When I click on Control Panel, then privacy, then on firewall, he said: "the Windows Firewall service does not work." I clicked on windows firewall turning power, but it was already enabled. He also says with a sign of caution, "firewall Windows does

  • Involuntary, horizontal, to repeat lines anywhere statement

    Hello!Please refer to the picture attached to the question I do experience demonstration.It is a large format work (about 550x85mm) and is intended for printing. When exporting in format PDF, png or jpg, the lines are still present.Unfortunately I do