Unable to get the 'splash' screen to work with sample

Using the RIM as a model example, I have this:

{public Dib (boolean ribbonClicked)

{if (ribbonClicked)}
Launch the application
this.pushScreen (new SplashScreen (UiApplication.getUiApplication (), new GameScreen()));
this.pushScreen (new GameScreen());
} else {}

and this:

public class SplashScreen extends full screen {}
Private fields
Following private FullScreen;
application of UiApplication private;
private Minu = new Timer();
  
private final static Bitmap _bitmap is Bitmap.getBitmapResource ("berrysoft_logo.png");.
  
Public SplashScreen (UiApplication ui, following fullscreen) {}
Super(Field.USE_ALL_HEIGHT |) Field.FIELD_LEFT);
       
This.application = ui;
This.Next = next;

This.Add (new BitmapField (_bitmap));
       
SplashScreenListener listener = new SplashScreenListener (this);
this.addKeyListener (listener);

Timer.Schedule (new CountDown(), 5000);

application.pushScreen (this);
}

but when I click on the application icon on the Ribbon, instead of work (as it does if I just press on GameScreen, it 'freezes' (a few seconds), then does nothing (IE never left the band).)

What's wrong?

The SplashScreen sample itself grows in the stack to display within its constructor.  You do not need to push, simply create an instance of it.  Pushing it, you try to push the same screen in the battery twice, which is not allowed.

Tags: BlackBerry Developers

Similar Questions

  • I uninstalled the touchsmart from hp on vista and then tried the system restore, dad will kill me, how can I get the touch screen to work again?

    I uninstalled the touchsmart from hp on vista and then tried the system restore, dad will kill me, how can I get the touch screen to work again?

    Hello

    You have a specific question for HP, it may be better if you ask in the Forums of HP's Support.

    http://h30434.www3.HP.com/

    See you soon.

  • How can I get the splash screen in the trial cs6

    How can I get the splash screen in the trial cs6

    Help--> see the tip of the day or similar... Depends on what program you use exactly...

    Mylenium

  • Now I am unable to get the full screen on the secondary monitor. How to fix?

    Now I am unable to use the full screen on something else than my primary monitor.
    Years, I just clicked full screen on Youtube or anything else, and he would go full screen on the monitor that the program was on.
    What setting changed
    I'm running an AMD ATI 5450 Chipset Graphics Card Runinng 12.6 Software.
    4 GB of RAM Windows 7 Pro 64-bit

    Hello

    1. are you not able to use the full screen on the main or secondary monitor?

    2. what happens when you try to maximize or use mode full screen?

    3 did you changes to the computer before the show?

     

    Method 1: Updated display adapter () AMD ATI 5450) drivers and see if that helps.

    Download here: http://www.amd.com/us/products/desktop/graphics/ati-radeon-hd-5000/hd-5450-overview/pages/hd-5450-overview.aspx

    Reference:

    Updated a hardware driver that is not working properly:

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

     

     

     

    Method 2: Restore the computer to a date when it was working fine.

    Reference:

    System Restore: frequently asked questions:

    http://Windows.Microsoft.com/en-us/Windows7/system-restore-frequently-asked-questions  

     

  • Re: Unable to get the wireless adapter to work on my Satellite L550-1CC

    I'm getting bored with this laptop, I reinstalled windows 7 (32 bit) and can not get the wireless adapter to work.

    My router settings are perfect, my netbook is zero connection problems - the router is just inches away from the laptop most of the time - the laptop insists that there is "no available networks."

    This of course is BS, before I reinstalled windows I could pick up 3 other neighbouring networks as well as mine.

    Windows automatically installed the wireless network - I thought that could be the problem, so I downloaded the realtek driver directly.

    No difference. Always the small icon with Red Cross barred through it.

    I thought it could have been a hot key problem - so I installed the flash card driver that apparently controls the access keys (for some reason any).

    Shortcut keys still don't work - I could really care about that - it's just the wireless network I need.

    Thanks for any help I receive.

    > my netbook has zero connection problems - the router is just inches away from the laptop most of the time - yet the laptop insists there is "no available networks."
    After reading this sentence, I'm a bit confused. If there is no available WLAN networks how your laptop had zero problems to connect?

    One last thing:
    > Of course is BS, before I reinstalled windows I could pick up 3 other neighbouring networks as well as mine.
    What is the difference between the old and the new installation of Windows?

    In general the WLAN use is fairly simple.
    Wireless network card - must be installed correctly (listed in Device Manager
    WLAN card - must be enabled using FN + F8 key combination to activate the wireless network card
    -scan the available WLAN networks area, click on the button of your WLAN and use connect
    -put key WLAN if necessary and after a few seconds WLAN connection will work

    I did this many times on laptops preinstalled Win7 and didn't have any problems. On all laptop computers pre-installed with Toshiba recovery image (factory settings) is not necessary to change the WLAN settings.

  • Unable to load the splash screen Startup Manager (by pressing F12 either does nothing or freezes the screen)

    Search on Google for a few days now, seems to be a rare problem I have found only ONE thread referring to a problem like this

    Problem:
    Boot Manager does not load
    Case 1: Start (with Toshiba logo) screen-> I press F12 for the Boot Manager. Nothing happens, and initialize routinely at the login screen, as if nothing had happened.
    Case 2: Splash screen-> in the crazy frustration I spam the button F12. The computer remains frozen in the home screen for hours otherwise force-closing
    Case 3: (this can be linked) by pressing the button F3/F8 works, but only if I wait 5 seconds. If I press immediately after starting the computer, the screen freezes again and remains frozen. In addition, it will NOT display the live cd USB drives / bootable, that I plugged in; o

    Details:
    I have Vista Home Edition 32-bit
    I've never reinstalled it, and I want to keep avoiding a complete reinstall if it isn't necessary because most of the problems can be resolved without having to reinstall and it's a pain in the _ to save everything, save parameter files and all that.
    A virus that could cause this would probably be beyond the capabilities of Avast, but always I ran a scan with Avast antivirus full (and own)

    If anyone has any suggestions please email me at vrielis@gmail (no matter how old this post is!) I'm getting desperate. o I also check here regularly, but I would prefer email

    Hello

    Reinstall would be a waste of time because, as I already pointed out, the problem is not in the operating system. It has everything to do with how Toshiba implements access to their volume of recovery and absolutely nothing to do with the operating system. Your best chance of resolution is the manufacturer. If you take this route or not is your choice. Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • HP Pavilion 17 Laptop: Unable to get the second screen after upgrade to Windows 10

    Hello

    I upgraded Windows 8.1 to Windows 10 yesterday.

    Up to now the double screen/second screen was working fine after upgrade my projector not able to identify my laptop.

    When I select the Windows key + P I get the message error "your PC can't project to another screen. Try to reinstall the driver or by selecting the different video card"

    On my device-> graphics cards Manager, I see only Microsoft Basic graphics card.

    Can someone help what driver should I install? Also ask you to provide the link for the driver to download the same.

    Thank you best regards &,.

    Umesh

    Here are the technical details:

    http://WWW8.HP.com/h20195/v2/getpdf.aspx/c04511132.PDF

    It is HD4400 Intel graphics

    Try the Intel driver update utility:

    https://Downloadcenter.Intel.com/download/24345/Intel-driver-update-utility

    Download drivers HP pages not available right now.

  • Unable to get the maximum screen resolution when you use the external monitor

    Hello

    I use Windows 8 on laptop ASUS K55A. I use an external monitor (Samsung SyncMaster 2233BW). Everything works fine except that I do not get the maximum resolution on the external display. The only way I see a sort of an overview of the good resolution is when I choose "extend these screens", but it's very uncomfortable when there's always one screen, I don't actually see.
    How can I increase the resolution of the screen on the external screen? (now, it's on 'show desktop only on 2')
    Thank you!
    I use Windows 8 on laptop ASUS K55A.

    So first a Bing search finds that ASUS K55A probably has the chip Intel HD 4000

    Then,

    https://communities.Intel.com/thread/30360

    (BING search engine for)
    Two monitors specifications Intel HD Graphics 4000

    )

    Graphics card Intel doesn't support double bond, so 1920 x 1200 is the maximum for DVI and HDMI, 2560 x 1440 is only possible with a display port. This is indicated in each product page.

  • Unable to get the login screen in the PIA.

    I finished up to the installation of PIA and I used only the available default settings there and this is the link that iam using for signature in "http://localhost:80/ps/signon.html". IAM just get the Message: the network access page cannot be displayed. How to check if my PIA is beautiful and functional. My application server domain is in place. What is the problem with weblogic? Pls help...

    You must start the Web server first...

    F:/PT8.51/webserv/PeopleSoft/bin/startpia.cmd

    Once it works try again.

  • Unable to get the restore point to work under vista. used to work ok.

    commissioning went haywire and can take 30 minutes and have to use the escape key to bring up the achievable screen. Help.

    Hi Winston,

    Thank you for your advice. Apart from the problam of restore point, there was also a major problam start but I entered the configoration system and activated on start up and this has solved. I'll try again restore then outside the mode without failure, then in the case where the start was part of the problam point and go from there. I will let you know the results. Thank you very much.

    Mark

  • Get the WiFi Catcher to work with Windows XP

    Hello world!

    I recently bought an Inspiron 1720 with Vista pre-installed. I was fed up with the OS without hope in two days and downgraded to XP Professional (surprisingly, without a hitch).

    I will never miss Vista. The only thing that miss me is now my WiFi Catcher that I can't seem to be able to work with XP.

    Do I need a driver for the WiFi Catcher XP? Could someone tell me please to one? I can't be able to find anything relevant on the Dell site.

    Thank you very much!


  • How can I prevent the splash screen to disappear after a few seconds?

    I have a HP Touchsmart all in one by using Windows 7. The machine is brand new.

    Whenever I get the splash screen, if I am not for nothing, after that a few seconds, the screen turns off and then I can make it back by pressing any key and then click on my name from the entrance to ge the rear screen startup.

    Hello jimtiger: I'm not familiar with the Touchsmart version 4 software. It works with version 3 of Touchsmart. Left click mouse any where on the screen click on customize. The opening of new windows screen saver goto adjust the wait time for a longer period of time.  Can also change the settings of computer power. Control in the lower right panel, you will see tools and information on the performance up until it clicks. Top of next window right-click on the adjustment of the parameters of energy.  Check high performance box.  Who will now have a blue dot. Just beside it, you will see the settings of plan up until it clicks.  You will see the screen dims: click the box next to it. My is set to 10 minutes below. Turn off the display: click the box my is fixed to 15 minutes. Put the computer to sleep: click the box my is defined. Never. Brightness is right-wing. Under that, you will see the change, click on advance power settings. Everything has a greater mark in it. Click ok. Close all windows should be all set now.

  • Crashes after the splash screen

    Yesterday, my application was working fine. I finally decided to play with the help of my own fonts and eventually make them work properly. But right after my app just started crashing everytime I open it. I get the splash screen, and then boom, it's down.

    I tried to delete the font files and reloading the app, still does not.

    I tried to create a new app and loading that. Same thing.

    Any thoughts? I am more than a person of design building without knowing too much techniques/code. Above all, I'm supposed to finally to show to my superiors today to see if we can budget it in our publication.

    Help, please.

    It looks like one of the values of the metadata of the map has been modified in a format not supported, which caused the accident. Update the content should solve the problem and remove that changed value.

  • Is it possible to get rid of the splash screen, the screen of the app and go straight to the desktop?

    Original title: I h8 windows 8.

    I don't like having to go through two screens to start my computer and two screens to close.  Add the startup of the screen and the screen of the application tiles does improve performance, they interfere. I don't see what's the difference between have icons on my page tiles and the application windows on my screen, except that the former is more efficient.

    Is it possible to get rid of the splash screen, the screen of the app and go straight to the desktop?

    Easy solution for this. You can download the Start button after the installation your computer will work like all the other previous windows and ordinarysoft.com. You will have all the programs with your button/start menu 'start '. The installation start opt to escape metro and you never see it again. Tell me if you have any problem to find the button start or downloading from the link I told you. Its free of cost.

  • How can I get the internal speakers to work on a hpvs15 screen

    I have NEEDED HELP GETTING THE INTERNAL speakers to WORK ON A HPVS15 MONTOR!

    Hello

    Try a reset of the monitor. Unplug the power cord from the monitor and hold the power button of the monitor for 30 to 60 seconds. Plug the monitor back in and it lights up.  Does that help?

    Consult this Manual.  Go into the on-screen display-->> volume and turn up to max all the sounds?

    Don't forget that you have a green audio cable plugged into the monitor and audio output on your PC port. Don't forget to unplug the headphones.

    Try a PC speaker separated in order to eliminate the PC as the problem.  You can also try the monitor and cable on another PC.

Maybe you are looking for

  • Contextual before accessing the e-mail dialog box

    On August 10, 2015 when I opened Firefox to access my email account, a popup dialog appeared offering online ID protection. He seemed to make an offering of Mozilla, I went and signed up for it. However, when I got to the point where they have asked

  • "bootmgr is compressed" error, impossible to decompress bootmgr

    When you configure the compression on the drive C of a netbook, I compressed the bootmgr file accidentally. Now, xp cannot start. I don't have any DVD of windows and linux doesn't seem to be able to decompress the file. There are utilities to start t

  • Cannot connect LiveView after that I updated. :(

    I just installed SUS for reasons other than the update of LiveView. I saw that they had an update for the LiveView, so I tried the update. The update process went smooth and well. However, after that the update and I lit my LiveView, it can no longer

  • No administrator account

    Separated from this thread. Jack, The problem is that there is NO administrator account (on my work computer) because of some process of unfortunate, so that the Standard user cannot run any utility that can change the status of an account, or that t

  • IQ-6 low loading images

    I am trying to download pictures from my smartphone IQ-6. He says I need a driver, but none can be found. What should I do?