Priority screen

Hello, I have this code:


Public screen extends form {}

public Screen() {}

UiApplication.getUiApplication.pushScreen (new TestScreen);

Add (new LabelField ("Blackberry"));



[/ code]

I would like this stay of TestScreen above the screen, that is, that TestScreen remain active and onClose, it will display the screen.

How do I do that?

Thank you

You need to push the global and modal screen.

However, you can do this from the manufacturer the way which you have above. Reason? The original screen has not been posted yet, no? It does not yet up to what the global screen stops being built.

Tags: BlackBerry Developers

Similar Questions

  • I need the popupScreen to go down...

    I have a popup screen code which I have pasted below... every time you press the red button or the previous button the screen freezes... I need to go in the background when you press on the back or on the red button... How can she... ?

    class PopupScreenForAlphanumericInput extends PopupScreen
        private AutoTextEditField alphaInputField;
        public PopupScreenForAlphanumericInput(String message,String defaultResponse)
           super(new VerticalFieldManager(),Field.FOCUSABLE);
           LabelField question = new LabelField(message);
           alphaInputField = new AutoTextEditField("", defaultResponse, 100, AutoTextEditField.AUTOCAP_OFF);
           ButtonField bf = new ButtonField("submit");
           add(new SeparatorField());

    I have the screen using pust

       popS= new PopupScreenForAlphanumericInput(message,defaultResponse); 
                UiEngine ui = Ui.getUiEngine();
                Screen screen = popS;
                ui.pushGlobalScreen(screen, 1, UiEngine.GLOBAL_QUEUE);

    You push the screen with the overall modal attribute. It will retain the focus until the licensee or a higher priority screen is pushed across the world (for example, entering the call screen).

  • Priority of the global screen

    Hi, when I'm working in applications, I face a problem that I can't solve. Where can I find comprehensive screen priority. This is because I want my screen is display (when the application is light) on top of any customer get any message or call for the customer using my software.

    Thank you

    I'm not aware of any documentation regarding the priority of the RIM screens.  However, I know that some of them use ve numbers - and no matter what you are coding, some screens from RIM will always display on top of yours.

    You will also find global screens have a number of restrictions regarding what you can do with them, for example to display the Menus behind the global screens.  Therefore tried to use global screens to develop your application might make this a bit difficult development.

    If you think that can override disable, and in it, do something like

    UiApplication.getUiApplication () .invokeLater (new Runnable() {}

    public void run() {}

    UiApplication.getUiApplciation () .requestForeground ();



    which should display your screen on top of the application that has been brought forward.

    That said, I think that it is dangerous to play with the way the Blackberry works like this.  I would look for another option.

  • pushGlobalScreen (screen, priority, boolean inputRequired) and the deactivation of the application

    I try to use a snippet of a peter_strange post to create tooltips in my application. In the code snippet, the deprecated method pushGlobalScreen (screen, priority, boolean inputRequired) was used to display the pop up. The question I have is that whenever the application is disabled, the ToolTip stays on the screen covering the screen HomeScreen/Call. The behavior that I'm trying to achieve is the ToolTip to be hidden, with the rest of the application without the persistent effect. I tried to mingle with the priority.

    The code snippet below.

     class TooltipThread extends Thread {
            Object _notifyObject = new Object(); // Used to allow user to dismiss this Tooltip
            PopupScreen _tooltip; // Screen we are going to display
            UiApplication _ourApplication; // access to pushGlobalScreen and dismissStatus from our Application
            int _displayTime; // in seconds
            public TooltipThread(UiApplication ourApplication, PopupScreen tooltip, int displayTime) {
                _tooltip = tooltip;
                _ourApplication = ourApplication;
                _displayTime = displayTime;
            public void run() {
                _ourApplication.pushGlobalScreen(_tooltip, 999, false);
                synchronized(_notifyObject) {
                    try {
                        _notifyObject.wait(_displayTime * 1000);
                    } catch (Exception e) {
            public void dismiss() {
                // notify the waiting object to stop the Thread waiting
                synchronized(_notifyObject) {

    Global screens appear above the other forms in the application (non-global).  So the behavior you see is expected.  To solve it, you need detect when your application has been disabled and moved to the background and pop your bubble screen.

  • Valid values for the priority queue screen.

    Where can I find the range of priorities in the documentation, and what constitutes a higher priority, more or fewer?

    What is typical. that is, there are many functions as function calls push global screen requiring a priority value. I don't know what values to use.

    Thank you


    I guess than Integer.MAX_VALUE

  • Determine if a Navigation key will change the current priority of the screen

    Hi, I was wondering if there is anyway to determine if a navigation key press on will change development screen to another field or not?

    Thanks in advance.

    Well, also, the field has an isFocusmethod that returns true if a field has the focus. I think that you can combine with getFieldWithFocus() to get what you want...

  • Active actions priority rule

    Since there is no default rule, I have to create rules more than necessary and some rules may conflict. Is there a way to set priorities for the rules so if conflict rules, the higher priority rule is enabled?

    There is no way for the user to set the priority in the active Actions. Instead, it has built in the algorithm to determine priorities and users can see the priority of the rule on the screen check the status from the main menu of the active Actions.

  • Satellite A200 - after Toshiba screen black screen

    Hey, I recently had a problem with my Toshiba laptop where, after the screen shows "Toshiba leading innovation", my laptop screen becomes black.
    I have manged to find the problem is one of my hard drives, and I am asuming this is drive C as the laptop does not start. If anyone has any information on what can be wrong, ways to fix it and the possible costs in setting priority, can you help me please?

    also... What are the chance I'll lose my files ect. off the drive?

    Thank you


    As far as I know, second HARD drive has nothing to do with the boot and he's here for the backup data.
    You can remove it, but also be able to boot OS if everything is OK.

    Can you please set BIOS to default settings and use F8 at startup?
    You can enter advanced startup options?

  • A40: How can I access HWTOOLS to change my boot priority?


    Windows XP is broken on my computer and I've been tracking just the reason why I can't change my priority of boot on my laptop of the A40.

    My son put a 'master' password in HWTOOLS. I can't access windows (it never comes boots or plant out after the XP screen in safe mode).

    How to access HWTOOLS or reset this password blown!

    Any help appreciated.



    This problem has been resolved in the other topic you have posted in the forum.
    Please check out this other topic:

    Good bye

  • Black screen after the addition of graphics card to H530

    I am installing an EVGA Geoforce GTX 560 Ti in a H530. I have updated to 600w POWER supply and tried to set the parameters of the BIOS to the appropriate values. The BIOS settings are: display = AUTO, Secure Boot = Disabled, CSM = on, the Boot Mode = Auto (also tried Legacy), Boot Priority = first Legacy, Video Display = Auto (also tried PEG). Whenever I install the card and start, the screen appears black. Once I remove the card, the display returns normally. On board graphics uses VGA, GTX uses DVI. Any ideas?

    OK, it's pretty embarrassing that I almost didn't write back. The monitor I was using has entered both VGA and DVI. Apparently, it is default to VGA and I found a source selector to choose digital & now everything is cool.
    Why I decided to write back, also the closure of this point, is to note that higher speed graphics cards can be supported by the H530. I installed an EVGA GTX560 Ti, which is not the fastest of the world map, but it looks like that he compared with the list of maps in the maintenance manual which IMO aren't enough of an improvement to bother with. Anyway, maybe the Bios settings, I've used will help someone else.

  • I have a Sony Vaio laptop model: vpcs111fm. After booting, the screen is small.

    OK, I just do a fresh install of windows 7 64 bit on my girlfriend's computer. The installation went well as planned. I loaded the driver wifi on a zip drive earlier because the establishment of an internet connection was a priority for me... it was so that I could visit the Sony website and download the other necessary drivers. The screen seemed perfect after the new facility... the brightness has been on site.

    After installing the drivers of several components, the screen greyed out on me. It has been plugged in all the time, so it was not a question of power. Display properties I want to adjust the brightness slider, but the screen will not clear up or protected when I do that. In addition, the combination of keys "fn/f5/f6" shows nothing. Infact, none of the 'fn' (hotkeys?) will not work.

    Again, the screen is awesome when the computer is booting (splashscreen), but is extremely low, after reaching the office. any ideas?

    side not: shows disk management that there is a partition for recovery, but I have tried all kinds of ways to access and failed miserably... just to access. pointers on this can be good too.

    Thank you!

    Hello Andy,

    Click on the following link for automatic brightness settings:

    Try to change the power management:

    See the following link for the clean installation guidelines:

    You can also try the steps when the function keys do not work.

    As the recovery partition is listed, and if the problem persists, perform a recovery system to factory settings.

    If my post answered your question, please mark it as an "accepted Solution".

  • You can save a broken computer? My computer does NOT start after the blue hp screen.

    In the past months, my computer has been the object of a freezing randomly, and Ctrl + Alt + Delete does not work. I stopped him via the power button. Sometimes, when I start it again, the computer moniter shows nothing but a black screen and the computer sounds different when it starts normally. When this happens, I turn it off again hit the left side of the desktop and turn on again. Whenever I do this, the computer starts normally, and I go on the computer use.

    Yesterday morning, after a break of 2 days, acess my computer and it is random freezing thing once again. I force close down as one normally do, and the computer does not start and displays the same black screen and the same fan/air weird sound. I stopped him and I hit the side RIGHT this time, I think and when I turn on the computer, the usual blue HP screen appears with the establishment, boot, diagnostics and system recovery things. HOWEVER, after this screen, a black screen will appear with this weird blue symbol on the upper left corner, I have never seen this and it looks like a circle with a triangle and a Pentagon below and it remains essentially on this screen forever. When I try to hit the establishment, boot, diagnostics and the shortcuts to system recovery, on the lower left side of the screen, it says "Menu boot loading...". ' or whatever the shortcut of loading represents, but nothing ever happens. When I press the other keys, this tapping noise comes from the computer at each tap of the keyboard.

    I have no idea what to do, and at this point, my first priority is to save important files on the computer. Does anyone know what is the problem? I want her more than a problem of system rather than a virus problem because refusing the boot black screen thing lasts for years. My computer is 3-4 years. I enclose a sketch of what looks like the weird symbol.


    With the flash drive, I was able to access the BIOS, which before, I couldn't.

    Eventually my computer was in some strange sort of lockdown setting, I switched it back to activate and now its work! I remember save important things in the future. Thank you very much for your help!

  • PC will not boot past the home screen with USB HDD connected?

    Please read the entire post before suggesting a solution.

    Mobo: ASUS P8Z68-V LX, on the latest version of the BIOS.  Eight USB 2.0 ports, two USB 3.0 ports.  Intel i5 CPU. 8 GB of DDR3 RAM. Graphics card is NVIDIA GTS 8800 512, and I have a GTX 960 FTW on the way. Corsair CSX500 PSU.

    Model reader problem: WDBHML0040HAL-RK

    -J' ordered this drive of Studio 4 to WD outside of eBay for $109, used. The drive has been used previously on OS X, and I had planned to use it between two Windows 7, 10 and 10 OS X via dual-boot.
    -Boots PC regularly without the connected reader, but it hangs at the splash screen, if the player is connected to one of my 10 USB ports.
    -I can't not to enter the BIOS with the drive connected, and if I get into the BIOS without connection, BIOS freezes as soon as I make it connect.
    -I went into the BIOS, (with the device / disconnected /), and external hard drives moved to the low boot priority. This had no effect.
    -The PC recognises the drive if it is connected / after start. I can copy files to and from the disk without flaw.
    -When it is received, the disk has been formatted with a face-to-face 200 MB EFI system partition, (I have no background knowledge about it), with the rest ~3.5TB unscathed HFS + space.
    -Immediately, I formatted the partition HFS + and it separated in exFAT and NTFS.
    -Deletion of the EFI partition to command line has no effect.

    Someone online says that this is due to the ASUS P8Z68 trying to boot from the drive and to disable "Legacy USB Support" from the BIOS, but my knowledge of the ways all USB devices are disabled, including keyboards. I am doing a FULL disk formatting and will update the post I have try these solutions.

    I'm really in a bind here, guys. In all, any help is appreciated.

    Solved myself. I went back to the basics:

    The drive is 4 TB and I'm trying to use it as exFAT, for compatibility purposes. exFAT supports up to 2 TB per partition. The solutions are either break the 4 TB drive halfway, or to use the NTFS system.

    For the record, I chose exFAT.

    Marking this question.

  • STOP: 0x000000D1 ndis.sys error during the Windows Xp Setup screen

    I have a computer tailor-made with a motherboard Intel D865GLC with a p4 running at 2.5 Ghz, a western digital 200 GB HARD drive, a drive Liteon DVD - RW, this computer was recently given too me by a friend because I can not afford the newer hardware. The problem I have is when I do a clean install of windows xp, I randomly get a STOP: 0x000000D1 ndis.sys blue screen. I tried to install an upgrade of windows 98 and windows 2000, nor worked. There is no specific time that he likes to fail, but no matter what it fails, it can be just by copying the files from its installation, the network while it please help

    Thanks in advance


    Do not install an operating system is usually caused by (in order of probability):

    1. you are trying to install with other devices connected to the computer. Unplug them before trying to make an installation.

    2. "" "" defective installation media. "" Check the CD/DVD installation for scratches, tasks. Try another machine.

    3. bad optical drive. Test with another CD/DVD bootable or Exchange for a well-known work.

    4. faulty RAM. Test with Memtest86 + . You will download the .iso image file to create a bootable cd. Burn the file with the third party burning software *-as an image, not in the form of data. Then start with the media that you did (you may need to change the boot priority in your BIOS so that the optical drive is the first boot device). The test runs immediately. The test run for an hour or two--at least that errors are seen immediately. If you get any errors, replace the RAM.

    * It is not necessary to have a third party burning software in Windows 7 since Win7 natively allows to burn an .iso. Other operating systems require it. A good free choice ImgBurn comes from .

    5. bad hard drive. Test with a diagnostic utility downloaded from site of the disc mftr... You create a bootable CD with the files you download. Burn the file with a third-party burning software (unless you have Windows 7, that allows to record the .isos natively) - as an image, not in the form of data. Boot with the CD that you have done and do a full test of the reader. The physical tests fail, replace it.

    6. other hardware components are faulty. MS - MVP - Elephant Boy computers - don't panic!

  • Confusion with priority BIOS after running Norton Ghost.

    Years ago, I had done a fresh XP install on a 75 GB Seagate hard drive. I have an old Maxtor drive of 25 GB the first connection on the Ribbon of the IDE and the Seagate is the second link on the same Ribbon. I have updated the BIOS to boot from the Seagate.  Performance lately on the Seagate has not been good, so I decided to start from scratch. I did a fresh install of XP on the Maxtor and everything is saved for this drive. Subsequently, I deleted the partition of Seagate and used Norton Ghost 9.0 to copy the contents of the Maxtor to the Seagate. Then I changed the priority of hard drive BIOS so the computer would be of the Seagate. When the computer is first started after the copy, I got a blue screen which took place from the disk check. Subsequently, it seemed to boot from Maxtor, thanks to the constant ROAR. The Seagate is quiet.
    In addition, when I opened up under administrative tools computer management, the Seagate drive appears as drive D rather than C. I was confused so I saved a file on the desktop to confirm which drive has started. The resulting file saved in D:\Documents and Settings\... folder.  It makes no sense to me.  Why does the computer start to the Maxtor with the Seagate with the priority in the BIOS? In addition, since he did start the Maxtor, I do not understand why the file was saved on drive D instead of C (Maxtor) (Seagate). Remember, I had the same hard drive and BIOS before configuring backup and run the ghosts and files were copied on the disks expected during the priming for the Seagate.
    Does anyone have an idea what is happening?

    The BIOS follows it of own rules to choose which drive start.
    Once he locates the starting tips for, then turns the Windows.

    Windows (XP) also gets its own way to begin - so you must be sure that it's boot sequence is correct.  I got a new SATA Raptor drive which was starting slow as molasses - until I found that the system was booting from the old IDE drive before he transferred control over the fastest SATA drive that Windows has been installed on.

    Finally, other programs have different ways to determine which drive they use.
    Add a copy of a disc (using Ghost) can keep registry settings for different drive specifications.

    IMO, on a XP system, you must have 1 player who put in shape to boot from.  The rest should be just the storage drives.

Maybe you are looking for