Change and direction of the lock of App?

Hey guys,.

I searched extensively, but have not been able to find an answer to this question (perhaps because the answer is NO).

I would like to run my application in guidance mode 'auto', but when the user reaches a specific screen, I would like to rotate and block it in landscape mode only. When the user exits this screen, I want to go back to auto. Any idea on how to achieve (if possible)?

Your help is greatly appreciated!

Are you talking about BB10?

If so, yes you can.

Just make sure you have the blackberry.app feature is enabled in the config.xml file.

You can then call

blackberry.app.lockOrientation (focus)

blackberry.app.unlockOrientation)

BlackBerry.app.Rotate (focus)

the orientation can be one of the following values: portrait landscape-primary, secondary-landscape, portrait-primary, secondary school.

happy coding

Tags: BlackBerry Developers

Similar Questions

  • I tried to set the fast user switching, but when I click on save changes and go back, the box isn't here.

    Original title: cannot switch on Windows XP users

    My problem started on December 3, 2011 when I left my computer for lunch. When I came back, my screen saver was. He asked me to enter my user account password to log back, it does not take me to the Welcome screen. Then I entered my password and logged on. I tried to give to fast user switch, but when I click on save changes and go back, the box isn't here.

    My system
    OS: Windows XP Pro
    Media Center Edition
    Version 2002
    Service Pack 3

    If the system restore didn't help, use the line 34, left side of the http://www.kellys-korner-xp.com/xp_tweaks.htm

  • I use windows 7. How to change and be sure the default column width in Windows Explorer

    I use windows 7. How to change and be sure the default column width in Windows Explorer

    Hi Jimsw,

    ·         If it works well before?

    ·         You did changes to the computer before the show?

    Explorer Windows will remember changed settings, check if this not happen as planned.

    Follow the suggestions below for a possible solution:

    Method 1: I suggest running the fix of the article and check if it helps.

    Diagnose and repair Windows files and folders problems automatically

    http://support.Microsoft.com/mats/windows_file_and_folder_diag/

    Method 2: You can increase the width of the selected columns and apply the settings to all files and check.

    a. right click on an empty space in the Windows Explorer, click on sort by.

    b. now, enter the size required in the Pixel with and click OK.

    Now, click on the drop down menu to organize and click on folder and Search Options.

    Click view and click apply to folders and click OK.

    I hope this helps.

  • I'm trying to install Adobe CC on computer 2, a Macbook, and after downloading the desktop CC app I double click in the intall. When it seems to be done to install I'll double-click on the icon of the ourobouros upstairs and I'm rewarded with spinning

    I'm trying to install Adobe CC on computer 2, a Macbook, and after downloading the desktop CC app I double click in the intall. When it seems to be done to install I'll double-click on the icon of the ourobouros upstairs and I am rewarded with the spinning of beach all dead. Any suggestions?

    Hi,

    Please see the below help document to solve the problem:

    Does not open App | Wheels of progress turn continuously

    Kind regards

    Sheena

  • E700 liquid: How can I change the lock screen apps?

    I no longer use the default lock screen apps. I use Chrome instead of the build-in the browser. How can I change the applications on the lock screen?

    Thank you.

    4 the lock screen applications are the same of the 4 on the bottom of your home screen.

    If you need to change the default browser of chrome in the home screen.

  • Clock and date on the lock screen disappears after update to 9.2

    Hi all

    After the update of my 5s Iphone to iOS 9.2, I am not able to display the CLOCK and DATE in my lock screen. Is their any setting I should change?

    Thanks in advance

    Howdy Karthik SJ,

    It seems that the date and time that you would normally see on your lock screen not displayed once you upgrade to iOS 9.2. I would start by quitting the application settings:

    Force an app to close the iOS
    https://support.Apple.com/en-us/HT201330

    1. press the Home button twice quickly. You will see small glimpses of your applications recently used.
    2. slide to the left to find the application you want to close.
    3. push upward on the overview of the application to close.

    When you have done that reboot the device and test again the question:

    iOS: switch off and on (restart) and reset
    http://support.Apple.com/en-us/HT201559

    Thank you for using communities of Apple Support, let us know how it goes!

  • How to test the change of direction on the Simulator event?

    There is an example of change orientation Guide 0.92 development event.

    I add some codes for my application to deal with this event, but I don't know how to test it.

    I find that the return value of Accelerometer.isSupported on the device Simulator is true and simulator of funds, the value is false. But two of them cannot Simulator such an event.

    I know that you can test on IPhone simulator, use of change of direction "Command" + arrow keys.

    Can anyone help?

    Thank you.

    To test or change the orientation of the Simulator make sure that your using the last image of Simulator, then slide upward from the bottom right. (Not of the bezel, instead of part of the screen visible)

  • Followed lead changes and deletions via the API

    Hello

    We use the API block for extract contacts and records every night for the storage of data.  For now, enter us all the records where the field of creation or last update happened the last time sync ran.  Since a large number of areas (e.g. partitions) are updated, which seems to result in almost a full (slow) re - sync every day.  Also, that leash not does any way to identify that were deleted to Eloqua, then we can also remove it from our warehouse.  Is there a better way to do it?  It doesn't seem like there is no available activities representing the field changes or deletes Records unless I'm missing something.

    Thank you

    Shane

    Hi Shane,

    Unfortunately at this time, the only way to draw from these data is the date of last modification, which as you know is updated on the update of any field. Subscribe to specific field changes and destruction Records are things we look for in the implementation via the Firehose API, however, there is no firm plan in place yet.

    Thank you

    Chris

  • Save messages and information of the pop up app user

    I have a few questions:

    1. how to save the values that a user enters in a field when the application is launched again? As I have some settings and information that the user is supposed to enter, but the next time the application is launched, the fields are simply empty.

    2. How can I get my application to notifications pop up, such as a dialog box, even if it is running in the background and the user was working on something else.

    Thank you

    1. Take a look at the article in the knowledge base persistent data store on the BlackBerry smartphone
    2. Search the forum for "substantive dialogue" and you will find a lot of posts on how to do it.
  • change of direction of the scrolling menu vertical

    Plase, if someone could help me,
    I did a vertical menu flash and I would like to change the direction of its movement. When I drag my mouse to the bottom of the Center, I would like links (in my case photos to move up, not down). You can see what I'm talking to
    alarmi 555. You can download one of the menus to check the code if you need HERE.

    The code which is at the origin of scrolling you can find below.
    Thank you all and wish you HAPPY NEW YEAR.

    change this
    FLF += (distance * speed);
    for this
    FLF-= (distance * speed);

  • Address bar does not match tab is selected. How can I get the address change and correspond to the tab I select a tab that has been previously loaded?

    If I open a new tab and type a url in the address bar tab load very well. When I return to an already open tab, the tab looks fine, but the address bar still shows that last typed url, not the url of the 'active' tab I do not see the url of the active tab and I can't use the "return", "Refresh", etc...

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • I forgot my apple ID and password with the lock to activate iphone

    my iphone firmware restore with computer

    After that restore iphone activation icloud is lockd

    I forgot my apple ID and password

    How to solve

    Thank you

    Are you still connected to the account anywhere so that you can look it up? Or do you have account downloads in your computer's iTunes library so that you can do "get info" on them and see the id? If not have you tried: If you have forgotten your Apple - Apple Support ID ?

    If you can't find always her, and if you were the original purchaser for the phone (that is, it has not been bought second-hand) then you could try to go to an Apple Store (make a Genius Bar appointment if you do) or try to contact iTunes Support Online (https://www.apple.com/emea/support/itunes/contact.html) and see if they can remove the phone from the account - they are likely to want to see the proof of ownership before they could help by example an original receipt with the serial number above

  • I upgraded to 8.0 but the page headers have not changed and I get the following message: update failed. Restart firefox and apply the updates. Aid, "about firefox" shows the version 8.0. The error message whenever I start firefox.

    Windows xp. Installed from administrator. Receipt module upgrade issues.

    On WinXP + Firefox 4 versions show the default Menu, Vista and Win7 don't.

    View > toolbars - Bar Menu = uncheck it

  • My date and time to start going backwards in time and years. I have change and new commissioning the same thing happens. __ __

    I have a windows xp program. I did a reinstall System Saturday and it does again. My anitvirus and spy programs are up to date. I did a full scan on my computer at the same time and nothing came. I recently added explore 8 - does this have something to do with the problem. I installed today... but the problem of the time and the date has been going on for two weeks. How can I fix this problem?

    Replace the small battery on the motherboard. If you have a desktop computer, it's very easy to do. If you have a laptop, take the machine to a competent local computer technology, not a BigComputerStore/GeekSquad type of place.

    How to replace the CMOS in your PC battery - http://www.liverepair.com/encyclopedia/articles/cmosreplace.asp
    How to replace the CMOS battery - http://www.computerhope.com/issues/ch000239.htm MS - MVP - Elephant Boy computers - Don ' t Panic!

  • format changes and odd on the insertion of page

    Hello

    I'm carrying a book. I have facing pages set up in my model. The even pages and odd pages each have different formats, with a larger inside margin to allow the link.

    Insertion of a single page of new forces all even pages become odd pages and even odd all odd to become that breaks the formatting.

    How can I fix?

    Thank you very much!

    If you use facing pages, you add pages in multiples of two. If necessary, use a blank page.

Maybe you are looking for