Locking of the orientation of the application in the BB smartphone

Hello

Is it possible to lock the screen to portrait (for smartphone).

Well, then <> mode = 'portrait' committees / >... have any support on phone.

Hi jeff,

Good info, but now I just added the code to reach my goal below.

  int directions = net.rim.device.api.system.Display.DIRECTION_PORTRAIT; net.rim.device.api.ui.Ui.getUiEngineInstance().setAcceptableDirections(directions);

http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/tips-quirks-and-solutions/TD-p/4...

Tags: BlackBerry Developers

Similar Questions

  • Locking of the blackBerry Smartphone screen/keyboard keeps activating while the phone is in use.

    I have a Blackberry 9810 "BOLD" and the screen/keyboard lock feature is always activate itself, even when I'm in the middle to send him a text or using the phone. Yesterday, it happened while I was talking on the phone and he cut the call. I can't find an option on my phone to activate switch. How can I solve this problem, because it's practically what makes my phone useless.

    Hello

    Well, first of all... No... no 'BB support' can answer you here. This is because, when they gave to you when you register on this site, this site has nothing to do with any formal support any. On the contrary, it is a community of users where volunteers try to troubleshoot other kind souls to the best of their ability. Unfortunately, no response would mean that anyone who took the time to read your post has something useful to you.

    From what you describe, I would infer that there is a wrong application behave which interferes with the function of locking, or maybe your operating system is somehow corrupted, or maybe a combination of the two. What I recommend is the following:

    1. Reload your own OS and as "skeleton" as possible (for example, whatever it is optional, let power off)
    2. If the problem immediately presented, then repeat step 1, but with an OS different package... maybe there's a bug in the specific operating system you run.
    3. If the problem does not immediately, then run for maybe a week-long enough to be sure that the behavior will not occur.
    4. If the behavior does not after a week, add just one thing (just one... no matter how tempting it is to add more!)
    5. Repeat steps 3 and 4 until the behavior is, how well do you know the culprit
    6. If the behavior does not, then you know that reloading the OS or switch to another operating system package was the cure.

    If none of this he healed, then you will have a physical hardware problem for which assessment in the hand by a qualified material is of course necessary. If you are under warranty, you seeking your warranty provider - normally your place of origin of the purchase, your provider of mobile service or one authorized service center (it varies by location, but you should have received the documentation at the front that tells you exactly how to use your warranty).

    Good luck!

  • HSDIO 6556 loses the lock on the external clock

    Hello

    I'm encountring a strange problem. I use my 6556 HSDIO to generate some model using and external clock (around 20 MHz and 50 ohms impedance). This clock is provided by an MCU and the entire application does not work well. However, when I tried to cool the MCU (up to-10 °) the HSDIO loses the lock and tries to re - lock again (the Red turned led active). When this happens, I can see a new phase shift between the data generated and the external clock, within the scope that is fatal for my application. L ' other, I inspected the data generated looking for a glitch or gigue appearing at low temperatures... Notice anything special... I tried to heat the MCU upward at 100 °, HSDIO does not lock...

    What can I do? 6556 HSDIO is apparently too sensitive...

    Mar1

    Hi Mar1,

    Datasheet public for the chip used in the States of SMU - overclocking 6556 a typical tolerance of jitter of 20 000 ppm, with minimum of 5,000 ppm. For a 20 MHz clock, this corresponds to 1 ns of jitter typical and 250 ps in the worst case. That being said, we cannot guarantee the specifications that are not included in the specifications NEITHER SMU-6555/6556 document because it is not updated with the production trial.

    Best regards

  • How to table of waveform of input 1 d in the lock with the amplifier

    I have a LabView application that I have to change to include a lock in the amplifier.  The application uses a capture card of data several times to capture a sample of 0.1 s of two signals (one signal, a single reference) in a laboratory test.  Before the measure was made by the base RMS module to record the VRM in the signal, and the reference is ignored.  However, the measures that I am now the scene run many s a lower and so I would use a simple RECS in the kit OR of.

    I am happy (I think) with the configuration of GARLIC but I am struggling to understand the requirement of input data.  It should be an array of 2D, with the identifited of reference signal.  However, the output of the part of the utility that captures the waveform is a table 1 d of waveform.  Could someone advise me on how to convert the table 1 d of waveform in a 2D table suitable for admission to the GARLIC?

    As you may have guessed that I am a newbie to LabView, I try to modify an application designed and assembled by a former colleague, so I'd appreciate simple suggestions!

    TIA.

    You have separated for each signal waveform 1 d arrays, or do you have a 1-d single waveform chart where signals are separate items in the table? If this is the first, you should do something like the code below. If you have a single Bay, then the code would be similar - you could just use a table of unique Index function. You may or may not need to transpose the table 2D. I don't know what waits for the lock in Subvi - channel data by row or column.

  • How to see files locked on the servers from a PC

    I need to be able to allow people to see the locks on files on a server, when you move files.  We have an application that runs on the PC, move files on a server.  But it is not in any way claire to see if someone has the file open, or locked in the folder files.  I can see the locks using the Console (MMC) or by connecting directly to the server, but users are unable to perform this operation.  Is there a Windows tool, or a code that I can put together that will solve this problem.  Program in VB6, but who have access to VB.Net 2008 as well.

    Any information on this would be helpful.

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/windowsserver2008r2management/threads

  • A symbol of blue lock on the display screen. How to remove?

    There is a blue lock in the middle of my screen symbol. It opens and closes every 15 seconds?

    Hello

    Dell monitor? See "OSD Lock" here. (The other monitors may have similar controls.)
    http://support.Dell.com/support/eDOCS/monitors/1901FP/en/controls.htm

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

    If necessary:

    One of startup programs is the culprit.

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Autoruns - free - see what programs are configured so that it starts automatically when
    your system boots and you connect. Autoruns also shows you the complete list of the registry
    and where applications can configure Auto-start for the files settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • Cannot delete files locked in the temp folder

    I emptied regularly delete all files in the temp via the function folder in the Tools menu of IE9 and also by searching on folder and deleting the contents of the temporary Local AppData file in the users folder.

    Ten days ago, I found there are some files in the folder temporary AppData that were locked and could not be removed. This only happens in a user account, and this isn't an administrator account. Opening of properties on any of the files by checking the Security tab, I find I am wierdly the sole owner of the file, but have limited permissions. I tried to change the permissions to get total control and then remove the file, but that did not work, nor has anything else I could think of. This included the stop of all open applications and disconnects all users.

    Other file properties:

    -Open with "Windows Shell Commo" - little matter that is.

    -Similar names to ~ DF38C18158B32C1039. TMP

    -Attributes: ATI

    -The size is small (512 bytes, for example)

    -No previous versions

    Normally the files in this folder have names like this except without the ~.

    After having in vain tried everything I could think of to delete these files, I downloaded Revo Uninstaller, who managed to remove all the files locked in the record at the time.  However, the problem resurfaced shortly after and this time Revo Uninstaller did not work.

    I spent a few days of research on the net and try different options without success until I stumbled on a recommendation to go into Control Panel, search for Java, open its settings menu and refuse authorisation for Java to back up the data on my computer.  It worked - I went back in the folder, the files were no longer locked, I was able to remove them as I usually do and I had no other problems with the locked files. Until yesterday.

    I double-checked the settings of Java to ensure that authorization still denied to save data on my computer. I don't remember now if I set permission to refuse when I checked again. I tried then to Revo Uninstaller again, but he failed again to remove these files locked. I noticed today that the date for all files is last July 15.  It seems (so far) no new files have been generated, but I still cannot delete locked files 51 of my computer.  My biggest concern, obviously, is security.  I don't want to locked files including origins, functions and activities that I do nothing on my computer, especially if I'm unable to remove them.

    I want to know how to remove these files, what caused do them appear in the first place and how to prevent them from happening again.

    Thank you!

    Thanks for this suggestion, Oberwald. It came a little too late, however.  Finally, it occurred to me to try my anti-virus software file shredder function and he managed to remove the locked files.

    I believe now these locked files were likely due to some kind of malware - after shredding, my desktop Recycle bin flashed repeatedly icon when I shut down the computer. Also, after have logged you in today, I find everything runs much faster and no sign of keylogging.  Seem to be back to normal.

    I was able to save the link and it will try in the future if necessary.

    Thanks again!

  • Locking during the generation and the online option to avoid problems

    Hi Experts,

    In our suite of applications, schemas are shared among several applications, and even when there is a deployment of an application, the other application remains upward. In this process, we are facing problems of locking. For example, when creating indexes, I get the error "resource busy and acquired with no expectations. This post is specific to this point on error when creating index (change the design of the app etc is out of reach for me currently).

    I was checking the "online" option of create index and I was wondering if that helps. It looks promising for me. When we have large tables (50 million more and creating indexes on them takes about 5 minutes and at the same time we have another app doing short transactions - who commit in 5 seconds, then creating index 'with the option' can help - is what I was asking.)

    Here is an example of what I've tried:

    -- first create a table with a few million rows:
    
    SET SERVEROUTPUT ON
    
    DECLARE
      v_sql VARCHAR2 (200);
    BEGIN
      v_sql := 'create table test as select * from dba_objects';
    
      EXECUTE IMMEDIATE v_sql;
    
      FOR i IN 1 .. 5
      LOOP
      v_sql := 'insert into test select * from test';
    
      EXECUTE IMMEDIATE v_sql;
    
      COMMIT;
      END LOOP;
    END;
    /
    
    --Now in session 1:
    ---------
    
    
    create index ti1 on test(OWNER,OBJECT_NAME,SUBOBJECT_NAME,OBJECT_ID,DATA_OBJECT_ID,OBJECT_TYPE,CREATED,LAST_DDL_TIME,TIMESTAMP,STATUS,TEMPORARY,GENERATED,SECONDARY,NAMESPACE)
    online;
    
    session 2:
    ------------
    DELETE FROM TEST WHERE ROWNUM<1000;
    
    commit;
    
    DELETE FROM TEST WHERE ROWNUM<40200;
    rollback;
    
    --etc.
    

    I find that deletions, etc. in the second session is done (they follow by commit and they take a few seconds) with this option 'create an index online '. The option 'create index' is also no error with the error ORA-«resource busy...» ». So what a better way to create indexes to avoid locking issues? Note that is is very good for us to have the creation of index take more time for what's important is that they are not lacking in critical production deployments.

    Are there other possible implications (-except that it takes more time to create the index with the option 'online'), that one should be aware of? Any known issues or is there any other glitches with the creation of online index?

    I will be grateful for any views on that.

    What is your version of DB full?

    In our suite of applications, schemas are shared among several applications, and even when there is a deployment of an application, the other application remains upward. In this process, we are facing problems of locking. For example, when creating indexes, I get the error "resource busy and acquired with no expectations.

    OK-, this exception is not surprising. To create or rebuild an index, Oracle has a lock on the base table. He can't do that if other users perform DML on the table - it must wait.

    And before 11 g ANY other session that then tries to perform DML on the base table that oracle wait will also block.

    I was checking the "online" option of create index and I was wondering if that helps.

    Well, if you do not use the clause of 'ONLINE' you must do that maintenance CONNECTION or you now cause other sessions cling while creating/reconstruction is made;

    It looks promising for me. When we have large tables (50 million more and creating indexes on them takes about 5 minutes and at the same time we have another app doing short transactions - who commit in 5 seconds, then creating index 'with the option' can help - is what I was asking.)

    Yes - it should help. But he cannot eliminate the problem entirely.

    See this article by the Index indicated Richard expert Foote (there are many other related articles index also):

    https://richardfoote.WordPress.com/2008/02/11/index-create-and-rebuild-locking-improvements-in-11g-ch-ch-ch-changes/

  • problem with the locking of the data

    Hi all

    I'm having a problem with the locking of the data.

    When I was trying to lock FY12 real periods. We cannot block periods. The consolidation runs perfect and all entities have the status of OK and all levels of the process are published, but when we try locking... We receive an error that "Consolidation, calculations or translations are required.

    Published by: user10926115 on October 16, 2012 10:34

    We had this problem with our application, as well. I don't know what causes it, but I can advise on our solution.

    In your grid lock, change your Value [None] member. Bear has the value and shows that all entities are in a State of OK or OK SC. However, when we go to the [none] member value, we see that some entities still need calculation. Select the groups that aren't in an OK OK SC or ND OK and select 'calculate '. Once solve us this problem in the [None] member value, we have no problems with locking or unlocking of these entities for periods that have been addressed.

    I would like to know if it works for you.

    Also, if someone else may be able to weigh in on the root of this problem, it would be certainly appreciated by more than just the op.

    Thank you!
    Scott

  • iOS 10 no locked out the flashlight and timer on screen

    In the previous version, I could pull up to the bottom of the screen locked and the timer and the flashlight were some of my options, as well as the brightness and change setting, if you're going on a plane.  I don't see how more intuitively.  The great thing now seems to have widgets and you can buy, but none of the above are options and those are the characteristics that I used often on my phone.  I liked that I could set the timer when watering my yard without having to unlock my phone whenever I moved the sprinkler.  Please let me know if Miss me just something.

    Thank you!

    The control centre has now three components. One with the parameters you want is on the left.

  • I can't save the messages in the sent folder, there is a lock on the file name

    the messaging engine Thunderbird ceased to save emails in the sent folder, when I checked the sent folder, it was a symbol of lock at the beginning of the queue file. and an error came up saying "error copy sent the file.

    The padlock, which indicated it still, the account uses a secure connection.

    Now

    So that we can better investigate this problem, you need to add a little more non-personal information.

    Please add the troubleshooting information to your post
    To find troubleshooting information:

    • Open the help (or click Help three-line-icon and select)
    • Choose troubleshooting information
    • Use the copy button in the Clipboard to select them all. Do not check box "include account names!
    • Paste this into your post.

    Please also add the result of these troubleshooting steps to your message

    • Thunderbird works in mode Safe TB (see Thunderbird Safe Mode)?
    • Do you use anti-virus software and firewall? What is the version?
    • Who is the email provider?
    • Who is the provider of the internet?

    Please post back with that information and any other questions you may have.

  • How to remove the automatic locking of the IPad 2

    How to remove the automatic locking in the iPad 2

    Are you talking about the time it takes the device "go to sleep?

    Settings > general > auto lock > set to 'never '.

  • I can't access my iMac, is locked and the keyboard will not connect. Magic mouse works OK. What should I do?

    Hello, how can I access my iMac that is locked and the keyboard will not match (new batteries and LED is blinckin). The Magic Mouse works OK. What should I do?

    Buy or borrow a USB keyboard and connect you with that. Once logged in go to your bluetooth preferences and pair it with the keyboard.

  • I found a 6 but iPhone is locked with the iCloud. Is there a way I can use this iPhone?

    I found an iPhone 6 and locks with the iCloud, there is a way I can unlock the device?

    Try to use a phone which is not yours is unethical. Make the police or the place where you found it. There is no way to use a phone that is activated to block without the original owner passwords.

  • Why do I suddenly had a lock on the icon and not be able to open Firefox?

    Connected today and found a lock on the Firefox icon symbol. I can't open the program, except if I get out of the sandbox. Why is this? My system is Windows XP pro.

    What software you use to create your sandbox? Maybe someone is familiar with it, or it becomes.

  • What is the lock with the circle around it?

    What is the lock with the circle around him at the top of the screen?

    It indicates that the phone is locked in portrait mode. Swipe to the bottom of the screen to call the control center. Tap the corresponding icon there to allow rotation in fashion landscape.

Maybe you are looking for