pushGlobalScreen causes the flash of white screen on 6.0.

Hello.

I am developing an application that run when push a global popup on the screen.

It is not a background application.

The problem is when I do this it has a white fast flash on the screen before the popup is displayed.

The app will be for OS 6.0 and I test on the Torch 9800 Simulator. I tried several different things to solve the problem, but I can't seem to get rid of it.

Can someone take a look at my code below which is basically the helloworld example of application of the

JDE 6.0 and let me know of any suggestions you might have please?

I'd appreciate any help. Thank you.

//************************

package com.rim.samples.device.helloworlddemo;
Import net.rim.device.api.ui.UiApplication;
Import net.rim.device.api.ui.container.MainScreen;
Import net.rim.device.api.ui.Field;
Net.rim.device.api.ui.component import. *;
Import net.rim.device.api.ui.component.RichTextField;
Net.rim.device.api.ui.container import. *;
Net.rim.device.api.ui import. *;

SerializableAttribute public class HelloWorldDemo extends UiApplication
{
    
Public Shared Sub main (String [] args)
{
PAP HelloWorldDemo = new HelloWorldDemo();
theApp.enterEventDispatcher ();
}

SerializableAttribute public class ScrnPopup extends PopupScreen
{
 
ScrnPopup)
{
Super (new VerticalFieldManager(VERTICAL_SCROLLBAR |) VERTICAL_SCROLL), DEFAULT_MENU. DEFAULT_CLOSE);
Add (new LabelField ("Hello"));
Add (new LabelField ("Hello"));
Add (new LabelField ("Hello"));
Add (new LabelField ("Hello"));
Add (new LabelField ("Hello"));
Add (new LabelField ("Hello"));
Add (new LabelField ("Hello"));
Add (new LabelField ("Hello"));
Add (new LabelField ("Hello"));
}
            
public boolean onClose() {}
System.out.println ("- closing Popup-");
System.Exit (0);
Returns true;
}
}
public void activate()
{
requestBackground();
         
}

Sub DisplayScrn)
{
invokeLater (new Runnable() {}
public void run() {}
UiApplication.getUiApplication () .pushGlobalScreen (new ScrnPopup(), 1, UiEngine.GLOBAL_MODAL);
}
});
}

public HelloWorldDemo()
{
UiApplication.getUiApplication () .requestBackground ();
DisplayScrn();
}
}

Am I right to assume that you see this, when you start your application?

Note that all UiApplications have a white background at the top of which they display their screens.  If the application has not pushed a screen in the stack to display the user will see a blank white screen that they are unable to interact with.  Here's what happens in this case:

1. the application starts.

2. the main method calls the enterEventDispatch method.

3. application comes to the foreground, but has nothing to screen (white white).

4. the applicant seeks to move to the background.

There are two ways you can work around this problem.  If you do not plan to have a GUI for your application (other than a global PopupScreen) you could develop the Application instead UiApplication.  If you do, check out this link for the code example your overall display.

Alert a user of BlackBerry smartphone from a background application

http://supportforums.BlackBerry.com/T5/Java-development/alert-a-BlackBerry-Smartphone-user-from-a-BA...

An alternative is to override Application.acceptsForeground in your application to return true when you want to display a graphical interface, and false when you do not.  Note that returning false here also prevents your application from appearing in the screen of the application of switching.

Tags: BlackBerry Developers

Similar Questions

  • Another that holding down the power button, then by restarting, how should I manage my end 2009 27 "iMac when he crashes on the first blank white screen and won't start?

    Another holding down the power button, then by restarting, how should I handle turn on my end 2009 27 "iMac when he crashes on the first blank white screen and won't start?

    Combinations of keys start for Mac - Apple Support

  • Windows XP 07 login I get the black and white screen where is safe mode option and then just loop it back to the same screen.

    When I powered on my Windows O.S. ' 07 I got the black and white screen where the option of safe mode and when I entered beginning that normally he just came back to the same screen of the suggestions?

    Hi RudyNY,

    1. you have Windows 7 or Windows XP installed on the computer?

    2. you receive an error during the process of loop?

    3. did you of recent changes on the computer?

    4 when was the last time it was working fine?

    Check to see if you can boot into safe mode in the Advanced menu options and the last good known Configuration.

    http://www.Microsoft.com/windowsxp/using/Setup/support/nostart.mspx

    A description of the options to start in Windows XP Mode

    http://support.Microsoft.com/kb/315222

  • I have a HARD disk with two partitions and two copies of Win7 but at the start, I have the black and white screen asking me only one to choose. How do I rename them.

    I have a HARD disk with two partitions and two copies of Win7 but at the start, I have the black and white screen asking me only one to choose. How can I rename the Windows 7 and Windows 7 Test to start in one I want right here?

    I have a HARD disk with two partitions and two copies of Win7 but at the start, I have the black and white screen asking me only one to choose. How can I rename the Windows 7 and Windows 7 Test to start in one I want right here?

    Use BCDEDIT to SET the description that you are wanting to "Rename" and also to choose the displayorder, timeout and that you load by default...

    Maybe this old conversation will help you:
     http://www.SevenForums.com/general-discussion/20191-renaming-earlier-version-Windows-dual-boot.html

  • Save the MacBook Pro - white screen of death

    My macbook pro starts, I get the ringtone to start and then the white screen of death that led to the computer to activate the walk and walk. I bring in my computer for repairs, but I am not able to save anything as none of the start up works. I can not access the disk utility, I tried! I wonder if anyone has experienced this or has any suggestions on what to do before going for repairs.

    What model of MacBook Pro?

    Maybe this problem

    MacBook Pro (15-inch, mid 2010) intermittent black screen or the loss of video quality program is over - Apple Support

    http://www.Apple.com/support/MacBookPro-videoissues/

    What happens if you connect an external monitor?

    -Try to reset memory NVRAM/PRAM and SMC

    MacIntel: Reset of the controller (SMC) system management

    https://support.Apple.com/en-us/HT201295

    Subject of memory NVRAM and PRAM

    This is the Office Mac Pro forum. I asked that your post moved to the forum of laptop MacBook Pro or another appropriate forum.

  • iMac with new ssd showing nothing but the pointer and white screen

    Hello

    I'm trying to fix an old imac (2008), 20 ", the mac crashed hard drive so I installed an SSD and tried to use the start switch to start on my yosemite bootable installation usb. When I try this, start pressing the option key, rather than see the start selector I see only a white screen with the black pointer. I tried to start another mac to this usb port, and it worked well. No one knows why this happens?

    Thanks in advance,

    Jasper

    You are using a wired keyboard connected directly to the back of the iMac? If this isn't the case, you could try that.

  • See the map displays white screen

    Hi all

    I looked through a lot of examples and messages on the map view, but it does not solve my problem.

    With this simple code in one of my qml files in the navigation pane, after a button is clicked:

    import bb.cascades 1.0
    import bb.cascades.maps 1.0
    
    Page {
        Container {
    
            layout: DockLayout {
            }
    
            MapView {
                id: myMap
                horizontalAlignment: HorizontalAlignment.Fill
    
                onCreationCompleted: {
                    myMap.setRenderEngine("RenderEngine3D")
                    myMap.longitude = -79.4042;
                    myMap.latitude = 43.6481;
                    myMap.altitude = 1800.0;
    
                }
            }
        }
    }
    

    and inserted it into my .pro file:

    LIBS +=-lbbdata - lbbcascadesmaps - lQtLocationSubset-lGLESv1_CM

    However, all I got is a black screen, and then a white screen.

    Any suggestions are welcome.

    Thanks in advance.

    jessica99327 wrote:

    Thanks for the info

    But if I put the minimum target to 10.1, is it not, devices with 10.0 cannot install the app?

    Yep

    jessica99327 wrote:

    So the only way to display the card view in 10.0 is to open the map of my application blackberry app is, no alternative?

    think 10.1 will very soon on most devices available BB10. Don #t know your app - perhaps 10.1 is earlier available for consumers, then your release ;-)

  • What is causing the active desktop repair screen appears.

    I have a Windows 2003 Server / XP SP3 environment.  We have completed deployment IE8 on the entire fleet of customers.  We started to run in wallpaper ADR appear for several users (all users at random).  I found a difficulty (4 post), but I have over 1500 clients and I'm trying to find out what is causing the problems. Nobody knows what causes the HKEY_CURRENT_USER Explorer\Desktop\SafeMode\Components\deskhtmlversion value change of 0 272 >?

    Hello

    I suggest you according to the question in this forum and check if that helps:

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

    It will be useful.

  • Plug the VGA cable causes the crash or black screen on my Thinkpad. Help!

    On my newly purchased W530, a cable VGA-causes a crash or a black screen on my Thinkpad.

    The foregoing happens whenever I have insert the cable VGA which is quite annoying, because I use it with my projector every day.

    Accidents seem to occur more often when I closed the lid and insert the VGA cable. If I open cover more often get a black screen (which remains black even when I leave the cable again).

    I could try to fix this problem?

    Which driver (or other) would be the most likely cause?

    Thanks Adam! :-)

    Yes, as I mentioned, accidents have disappeared after installing the latest driver Nvidias own site.

    Remaining problems are small problems which I can live with to what NVidia fixes if all goes well with an updated driver.

    But it was really great to see instructions on how to start in safe mode on Windows 8. I always wondered who. Thanks again Adam! :-)

  • Intermittent hard drive looking for the light. White screen.

    My Pavillion Office refused to start today with light orange hard drive "will not blink" in the quick flicker even way while trying to start.  Its flashing for a longer period with a consistent pace of about one and a half seconds per blink.

    I removed the hard drive from the system one enslaved in another Pavilion and it worked fine, I reinstalled the memory of the original machine and reconnected problem persisted.

    I would appreciate any recommendations on the resolution of this grace.

    Thanks for the reply, but I solved this problem. A memmory in the system module has been damaged possible overload of dllhost.exe. I I removed the module and the system now boots normally.

  • Just as a reference: how to FIX the annoying 'White Screen Of Death"with Silverlight and"Access denied"error with computer management.

    Well, I just hope that someone who has met these two mistakes will find my dose. It might save a lot of pointless research on the net.

    SYMPTOMS:
    -When you try to open a Silverlight application in your browser (Firefox, Chrome, IE, etc), your browser displays only a white area. When you right click on the white area, you can click on the Silverlight properties.
    -If you try to start "Computer management" by clicking on the 'My Computer' icon and select 'Manage', you get the following error: 'access denied '.

    CAUSE:
    The following errors are usually the result of a bad environment variable. In this case the "windir" environment variable does not work correctly. You can try running the management of the computer to start > run and entering:
    %windir%\system32\mmc.exe/s %windir%\system32\compmgmt.msc

    Notice the between the characters of percentage windir environment variable. If you run the above code, you will probably get an error saying that MMC cannot open the file. Look closely at the path, it's back!
    You will probably find any % somewhere.

    What actually happened here is the variable windir made reference to another variable: systemroot
    Why this creates problems, I'm not sure. Also, I don't understand what made then variable windir change.

    SOLUTION:
    -From your desktop or Explorer: right-click on "My computer" and select "Properties".
    -Click on the "Advanced" tab and then click "Environment Variables".

    http://pcauthorities.com/images/advanced-system-properties-XP.jpg

    -Did the windir variable. Together to "C:\Windows" do not think that it is already set to "C:\Windows", because windows then tells you. Double-click it to know for sure.

    http://www.adminxp.com/windowsvista/envvariabl.PNG

    -See, I told you! Change this to "C:\Windows".

    http://www.adminxp.com/windowsvista/editenvvar.PNG

    Hi Jooch,
     
    Thanks for posting such a detailed response, including symptoms, Cause, and resolution to "White Screen Of Death" with Silverlight and "Access denied" error with computer management"issues.
     
    I appreciate your time and effort to do the same. This could help other users of the forum as well.
  • Boots Vista 64 Ultimate SP2 (with domain) to the mouse cursor black screen white after that several failure system restores

    Who can help me to WHO:

    Sorry for fast hiking, misspellings, it's late and I do not use my normal computer to this problem I have.

    I am currently sympthym to start the black screen with a white cursor (furniture, put in construction in the middle) with my laptop Dell Studio 15 (model 1537) that running Vista Ultimate 64 bit SP2.  He started tonight after repeatively, I tried to restore to a date prior to the System Restore tool.  I wanted to get back to Monday due to some software installations.  However, each attempt to restore failed and then after the 3rd or 4th attempt, when I tried to restart, I was faced with a window very long stop, and I was impacient and pressed and held the power button to stop it.  Subsequent starts, I've known this problem with no solution having been found for the moment.

    I tried several things at first, such that I tried Ctrl-alt-del, control-shift-esc, blindly connect with my fingerprint.  I tried windows key combos, but no luck.  Still stuck with screen black mouse cursor

    I have my vista ultimate 64 bit installation disc, and I started with the dvd and tried to fix it.  Automatic repair tool says he finds a problem with my start and had a difficulty to which I applied and rebooted.  But it did not work.

    Then, I tried to boot from the dvd again and did the repair option again, this time, Autostart reparir tool see nothing wrong with my start and I tried a system restore, but alas, it failed after having worked for a bit.  Telling something about restoration being corrupted.  I tried command prompt (X:\Source) and make chkdsk c: /p (which btw, implies / f as well) and it found some errors and repaired them or what not was wrong to write to newspapers, even if and then after long waiting, returns to the c: prompt.  No effect.

    On subsquent dvd boots, I tried the option to command line renaming a "Logs" directory and create a directory "Logs" empty (which was mentioned in some research online and even in a few posts here), but that has not solved the problem for me either.

    Dvd later boots, I have tried regedit solution method, where you will load a SYSTEM key and set some sort of AUTHORITY NT set... but when I checked key, she was already the correct setting.

    Then I learned that I could press the "Shift" key repeatedly while mode cursor screen black/white/and try the propmpt for keys pop-up to sticky.  But he said no 'link' as many instructions in this message box.  When I click 'Yes' to sticky keys, nothing is displayed and the pop-up closes.  Ditto for the 'no '.  There is no mention of accessibility settings.

    I tried all modes of security, but just a white cursor plu experience.  I have tried to use "last known configuration', 'debug mode', 'start logging mode', mode"disable driver signing"and again, the same thing, the cursor of the black and white screen.  I'm really at my wit's end, and I don't want REALLY to re - install everything (operating system, programs, settings, etc.) ... I did not back upward, and I use this machine without problem for more than a year.

    I remember once XP has a "repair install" mode which was really obvious to end users, since it looked almost identical to a clean install.  I have also heard (but can't really confirm) Vista has no such a fashion, that, by clicking on install, he repaired to the simular OS to XP disks how would repair their facilities.  I can't risk my data/programs/settings for accidental clean installation.  Help, please!

    Sincerely,
    Robert Eckman

    According to me, put it back in place, is the only solution to your problem!

  • BlackBerry smartphone White screen while mobile is activated and the BB Desktop connection

    My bb8900 shows white screen when I yook it my pocket it shows connected with BB Desktop I have updated its software as well but question remains the same only white screen shows the mobile please help

    Hey Mari_43,

    Welcome to the community of BlackBerry Support Forums.

    Thanks for the question.

    Since the white screen is always occurring after a reload of the device software, I suggest you contact your provider network of repair options.

    Let me know if you have any other questions.

    See you soon.

  • Question of Simulator: white screen off center instead of application

    Hello

    I'm new on the BlackBerry community, the development of BlackBerry et al. Today, I downloaded the SDK to test the Tablet Simulator 0.9.2 but I already spent several hours trying to get something to run without success.

    The Simulator is installed without any apparent problems. I have read the forums today and I had none of the problems that others have mentioned, as a screen freezes or problems during startup.

    I use a trial version of VMWare Fusion 3.1.2 on Mac OS X 10.6.6.

    I don't have Adobe Flash Builder, so I use TextWrangler. I wrote an applescript script which, during the recording of my actionscript file, called a perl script (I know, sounds redundant, but it works) and fact the compilation for me as posted by Taylor Byrnes (amxmlc, blackberry-airpackager). I'm able to talk to the simulator that my output from compilation shows any errors (as far as I know), but my application appear in the Simulator without the icon that I have provided.

    When the application is started, all I get is a white screen off-center without content about it.

    I've also compiled the HelloWorld example provided. What I received was another app in the Simulator with the default icon that does exactly the same thing: a biased white screen. Whenever I have recompile a script with minor changes, the icons in the Simulator flash for a millisecond, and then I get the same off white screen.

    Someone knows something like that? Clues?

    There is obviously something I have to hurt. I can put my arguments to command-line and script if that helps. I tested my swf file in the Flash Player application and it shows. All what I have there is a red dwarf with a TextField on the top.

    Sorry for the comments and thanks for any help, you can provide.

    Daniel

    Are there spaces in folder names anywhere in the path to your project on your computer?  If so try to migrate your development to a folder that has no space in any folder named everywhere in its path.  Maybe it's not the cause of the problem, but in all cases, you should remove it as a possibility.  Windows users are discouraged to use the directory C:\Documents and Settings typical for Playbook dirs project.

    The other thing that went off to the top of some people using versions of command line is picky how the tools are.  In your command line, try using the - C option, and make sure it's between - package .bar and installApp -:

    I.e. instead of:

    blackberry-airpackager -package HelloWorld.bar -installApp -launchApp HelloWorld-app.xml HelloWorld.swf [ICON FILE NAME] -device [PLAYBOOK IP ADDRESS] -password [SIMULATOR PASSWORD]
    

    follow these steps:

    blackberry-airpackager -package HelloWorld.bar -C [YOUR PROJECT WORKING DIR} -installApp -launchApp HelloWorld-app.xml HelloWorld.swf [ICON FILE NAME] -device [PLAYBOOK IP ADDRESS] -password [SIMULATOR PASSWORD]
    

    The airpackager in the SDK 0.9.1 was picky about the order of the command line options.  I'm still not on 0.9.2 but see nothing in the notes to having fixed them thereon.

    Edit: Note; I've never had a center off white screen w/all of my command line compiling adventures, but before I got the mantra of the 'proper' command line, I got apps that showed a splash screen and then just went.  I'm on Windows (XP SP3), btw.

  • iMac 8.1 White Screen of Death

    Before I launch into history, here are some of the relevant features of my computer. I have an iMac 8.1 (2008 model) with a processor clocked at 2.66 DC2, 2 GB of RAM and a hard disk of 1 TB with three partitions. The main (about 640 GB) ran 10.11, the second a (32) snow leopard and the rest it has been implemented with Windows 7. This configuration worked well enough (if a little cludgily) for some time, but the other day, things came to a head.

    It has a bit of history history, please bear with me.

    Monday, after the computer has been awkwardly slow with no application, I thought to reinstall El Capitan to see if that would help. After the installation failed, I ran disk utility on the main partition to see what he would say. After a brief inspection, he said that it was a problem he couldn't solve, recommended making sure that my data has been backed up and clear. The Snow Leopard partition, however, seemed fine. Somewhere along the line I also gave Techtool Pro 8 a spin; It seems to indicate that most of the things associated with non-partition were very well, but found that the hard drive (in general) has failed to test temperature.

    In any case, I boot in Snow Leopard, I guess to see if the old version of disk utility would have a bit more luck (this may sound stupid, but I confess I have a lingering distrust of the latest iteration of this software). As expected, he did not progress. I even ran DiskWarrior 4, and he says that the partition was shot. Somewhere along the way, I had disassembled the main partition for a reason, and after not being able to get him back for some time (and getting only ReadOnly when she didn't come back), I myself resigned and the likelihood that the partition was shot. We ran by Best Buy and picked up a 1 TB external drive (which I never had before, as stupid as it sounds; "I guess I never realized to cheap ways they had obtained). I spend a night using carbon copy to backup my important data and when I'm done moving things on the next day morning, delete this partition. So far so good. I reinstall El Capitan without any hitch and spend a day or two, transfer of information on the 'new '. I also make sure to configure the new disk as a time Machine, get all my data saved on it.

    Things seem to be fine, and I'm starting to get back to my daily routine. However, this morning, after the connection and use it for a little while, the entire screen changes abruptly a very light grey/white color and no unresponsive. I understand that nothing is happening, stop and restart the power. The screen remains white. The slider appears, but nothing big happens else. At some point (I'm afraid I don't remember if it's on this first boot or one of the few later), a folder with a flashing question mark appears (this never appeared, however, on one or two startups). I try different things: reset PRAM (which at least brought the sound chime, who had kept silent, back), reset the SMC and boot into safe mode, a disc hard my choice with the Option key pressed, or since the Snow Leopard DVD. When he answered the optionkey down initially, it would shoot the cursor and screen as if he was going to offer me different drives, but nothing ever came, not even the external drive. After further start attempts, he stopped to show anything, even the cursor.

    I have the external drive disconnected right now. When you start the computer, a white screen comes up and then nothing else seems to happen, no matter what key combos are pressed.

    It was for some time ago, but I thought it would be useful to mention that we sometimes have blackouts here. After such an event, old computer power supply burned and had to be replaced. Since that time, however, everything seemed to work pretty well.

    I looked around, discussions and others to try to see if I could find a similar experience, but as it is I'm quite puzzled. The only thing I have not tried is opened and unplug the hard drive as suggested by an intern, to see if she might try to find other media to boot from.

    I thought I would ask here to see if he has any advice this community had to offer before doing something drastic. Thanks for reading and your review.

    If you have the original install disc provided with the computer, run Apple Hardware Test Mode Extended 2 - 3 times back to back. If errors appear when you have confirmed a significant hardware problem the computer has to go repair. The reason to run AHT in Extended Mode what is complete, but it can miss errors during the first and even the second pass.

    However my guess is have some other hardware problem and you really takes them to a CENTER in your area to be diagnosed professionally.

Maybe you are looking for