Problem at the opening of the start screen

Hello

In my BB app, I want first of all to display a splash screen and then go to the normal screen. To do this in my main Uiapplication, I call you:

SerializableAttribute public class MyAppStarts extends UiApplication {}

public MyAppStarts() {}
pushScreen (new SpalshScreen());
}
Public Shared Sub main (String [] args) {}
MyAppStartsapp = new MyAppStarts();
app.enterEventDispatcher ();
}

}

It's my inspired SplashScreen (excerpt) of http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800256/...

version 4.2 or later

public class SplashScreen extends full screen {}
private Minu = new Timer();
private bitmap Bitmap;
private UiApplication app;
       
public SplashScreen() {}
Super(Field.USE_ALL_HEIGHT |) Field.FIELD_HCENTER);
System.out.println ("* in SplashScreen");
try {}
bitmap image = Bitmap.getBitmapResource ("flash.png");
} catch (Exception e) {}
System.out.println ("* Exception:" + e.getMessage ());
e.printStackTrace ();
}
This.App = ui;
This.Add (new BitmapField (bitmap));
SplashScreenListener listener = new SplashScreenListener (this);
this.addKeyListener (listener);
Timer.Schedule (new CountDown(), 5000);
System.out.println ("display of splash...");
UiApplication.getUiApplication () .pushScreen (this);
}
       
public void dismiss() {}
Timer.Cancel ();
UiApplication.getUiApplication () .popScreen (this);
UiApplication.getUiApplication () .pushScreen (new LoginScreen());
}
       
the class Countdown
private class timer extends TimerTask {}
public void run() {}
Thread DismissThread = new DismissThread();
UiApplication.getUiApplication () .invokeLater (thread);
}
}
       
class DismissThread
private class DismissThread implements Runnable {}
public void run() {}
dismiss();
}
}

class SplashScreenListener
NotInheritable public class SplashScreenListener implements KeyListener {
SplashScreen screen private;
{} public boolean keyChar (key char, int status, int time)
intercept the key ESC and MENU - exit the splash screen
Boolean retval = false;
switch (key) {}
case Characters.CONTROL_MENU:
case Characters.ESCAPE:
Screen.dismiss ();
retval = true;
break;
}
Return retval;
}
{} public boolean keyDown (keycode, int, int times)
Returns false;
}
{public boolean keyRepeat (keycode int, int times)
Returns false;
}
{public boolean keyStatus (keycode int, int times)
Returns false;
}
{} public boolean keyUp (keycode int, int times)
Returns false;
}
public SplashScreenListener (SplashScreen splash) {}
screen = splash;
}
}

protected boolean navigationClick (int status, int time) {}
dismiss();
Returns true;
}
   
protected boolean navigationUnclick (int status, int time) {}
Returns false;
}
   
protected boolean navigationMovement (int dx, int dy, int, int time status) {}
Returns false;
}
      
}

She throws IllegalStateException - does not know where. I tried to add the breakpoint at the pushScreen of the main class (new SplashScreen()); but it throws the exception and could not know where the exception. If I replace the SplashScreen with LoginScreen, it works perfectly. There is something wrong with the SplashScreen.

Can anyone help mw know where I'm going wrong or what more to do!

Any help is very appreciated.

Thank you

Oh thanks for pointing this error.

After correcting this error also, it did not work at all. Finally I erased applications for download folder (could also just delete my those cirrent requests) and tried again and it worked perfectly.

I guess the main problem is also the same application was already in the download folder was running even JDE and proper application in the cache to perform instead of newly added or updated to date.

Just to see the results with invoking pushScreen again n SpashScreen Builder - resutls were still only works correctly. Not a Sunrise errors/exceptions or screen showed two times or more - everything worked as expected. Hmm strange.

Any ways thanks.

Tags: BlackBerry Developers

Similar Questions

  • Qosmio G30-126 - problem with the start screen

    My laptop was working perfectly until I suddenly found starting with sound activation boot but without any image appearing on the screen until I got the windows login page in which the image appeared with its normal perfect resolution.

    The operating system is Windows 7, which worked smoothly, with all the drivers toshiba, installed more than 3 months, and the device was normally closed the time before the problem occurred.

    I tried to use the restore disc but the problem is that I can't see something! the computer works, but the screen is black as if the laptop is turned off completely.

    I tried to connect an external one LG LCD but it gave no results, but only a screen empty.

    I really need help in this issue that this notebook contains all of my work and I very much count on it.

    Hello

    Can enter you the BIos (F2 on startup)?

    > I tried to connect an external one LG LCD but it gave no results, but only a white screen

    However, I think it is the dysfunction of the graphics card as your laptop work without any image that appears. In this case, you must contact the ASP (SAV) in your country:

    http://EU.computers.Toshiba-Europe.com/innovation/generic/ASP_SUPPORT/

  • Some applications Windows 8 will not be open and constantly return to the start screen

    Some Windows 8 applications (calendar, Photos, Messenger, etc.) do not open and return to the start screen. I updated the computer, so the apps worked during this session.  However, after that I disconnected and re-connected to the laptop the next day, the same apps stopped working again.  This continues that occur on a regular basis.  How to solve definitively the problem?

    Note: I noticed that others have this same problem, and I tried the troubleshooting suggestions (i.e., to download the troubleshooter of the modern user interface, cache cleanup, etc.), but none of these suggestions has definitely solved the problem.  I bought my new laptop two months ago and have been facing this problem since.  I want a permanent solution.

     
    W8 comes with built in AV from Microsoft (Windows Defender) solution. You do
    not actually need a third party.
     
     
    Barb
     
    MVP - Windows/entertainment and connected home
     
     
    Please mark as answer if that answers your question
     
     
     
     
  • I have a Macbook pro (2011 model). It gets stuck on the start screen on to half way through commissioning. This happens whenever the mac turns on. The problem is solved when I reinstall Yosemite to boot to Recovery Mode disk utility.

    I have a Macbook pro (2011 model). It gets stuck on the start screen on to half way through commissioning. This happens whenever the mac turns on. The problem is solved when I reinstall Yosemite to boot to Recovery Mode disk utility. However, the next time you start, the startup process is blocked to halfway to new (on the screen with the toolbar and the status of apple). I want a more permanent solution to reinstall the operating system every time. Would appreciate someone's suggestions and thanks in advance.

    Replace your hard drive.

    You have a backup of trust? If not, buy a disc of exterrnal for that as well.

    The progress bar from the left end at the beginning of the commissioning indicates that your drive has been so damaged, it could not be mounted. Five minutes of progress bar is shown as it does the equivalent of disk utility (ERD [Directory]). If you have reinstalled several times and the problem is not fixed, your drive is in solid form.

  • "Sorry, we could not connect to the Microsoft services right now. If the problem persists, look for 'referee' on the start screen.

    "Sorry, we could not connect to the Microsoft services right now. If the problem persists, look for 'referee' on the start screen.

    This appears when I try to connect with Microsoft Account.

    I tried all the possibilities that was displayed in the link but when even the problem exists... below you please suggest me the solution to add the microsoft account

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-networking/sorry-we-couldn

    Hi Nikhil,

    If you connect through a proxy, then I suggest you to try the steps suggested in this article and checking:

    http://support.Microsoft.com/kb/2778122/en-us

    Keep us updated on the results.

  • Is it possible to change the screen on the start screen opens?

    I have a display dual display. I have #1 monitor set as my primary monitor only things as applications will launch on its default screen. Windows 8 at the opening of the splash screen, I prefer the start screen not to obscure everything I did on the primary monitor. (for example, to watch a movie) I prefer the start screen to open on the second monitor. Is this possible? I got tired of things like changing the monitor #2 to be primary, but the splash screen was again launching on monitor #1. If it can't be done through the registry or any other method, I guess I'll have to try rewiring all my screens. However, it would be only a temporary solution to stop that brings me to my follow-up question.

    I intend in the future to get a screen touch little 7pouces that I connect to my computer such as one-third of the screen and I would have 8 launch windows startup screen and stay on this screen all the time and all the apps I launch from windows 8 start screen to show on the main screen of my #1.

    Or the other of the above can be done?

    in the lower left corner of two monitors, if you move your mouse, you will have the option to open the splash screen. All this on the monitor you want to it load on and it will stay on the screen until you decide to change

  • Red shadow on the entered words and contours, also red dots on the start screen

    I'm getting red shadows on the words entered as well as on the edges of the boxes. There are also red dots on the start screen. I tried to re start but that did not work. So what is next.

    Hi dbuffalolam,

    1. don't you make changes before the show?

    Try these steps and check the result.
    Step 1: Virus scanner online to clean your system.
    a. visit http://onecare.live.com/site/en-us/center/whatsnew.htm
    b. click full service scan and complete the scan.

    Step 2: Check if a non-Microsoft program is causing this issue
    a. open the article: http://support.microsoft.com/kb/929135
    b. Article, follow "step 1: perform a clean boot" the implementation of these measures will disable all programs not Microsoft currently running on the computer.
    c. check to see if the problem persists.
    d. If the problem does not persist in the boot, it means that another non-Microsoft program is causing the problem.
    e. to find the program that is causing the problem, try "step 2: enable half the services" to "step 6: resolve the problem.
    f. Once you find the culprit, check if there is any updates to update or fixes to the program. If you find, install them and check the difference or reinstall the latest program.
    g. Article, follow "step 7: reset the computer to start as usual.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I hope to find a solution to the problem of the video screen FOR the dell latitude 10 Tablet

    Hello

    I have the dell latitude 10 Tablet

    I have a problem in the video display device and especially if the video is HD with precision
    Video is very slow and "forced" terribly... I'm surprised this problem.
    Formate worked for the device is not not to solve the problem... Experience the same video on the w510 Acer Tablet and it works fine
    Fact the imbalance of the is the problem of my camera... or what specific problem... Help, please

    Hi ALI IBRAHEM,.

    If I understand you correctly, HD video playback problem has been resolved by installing the driver Pack for the user installing Intel.

    To control the imaging (Webcam) of Windows 8 machine does not need to install the camera application. Windows 8 operating system has 'Camera' app. You can access the application 'Camera' of the start screen. In case you are not able to see the application of the 'Camera' on the start screen, you can download it "Windows Store Apps".

    • In the start screen, click the tile 'Camera' to open the application
    • If the app invite you to use your camera and microphone, choose "allow".
    • Adjust the settings, if desired
    • To take a picture, click anywhere on the screen
    • The camera app saves all your loving photos and videos in a folder called "Camera Roll" in your photo library.

    Answer please if you have any other questions. I'd be happy to help you.

  • Can't wait to close applications when multitasking bar on the start screen?

    When within an application, I can easily drag another app in the multitasking left bar on the lower edge of the screen to close. However, I can't do the same when on the start screen. Any attempt to drag an application to the bottom gets just the application itself.

    Hello

    Thanks for posting your question in the Microsoft Community forums.

    I see from the description of the problem, you have a problem with the closing an app in multitasking on the start screen bar.


    I will surely you help with this. We are here to help and guide you in the right direction.

    By design if you drag an app in multitasking on screen bar start it will open this App. You can't close an application by dragging it to the bottom of the screen on the start screen.

    You can close an application by dragging in the bar of multitasking for the bottom of the screen, desktop and other applications.

    Check out the link for more information.

    Let us know the status of the issue after you perform the troubleshooting steps. If you need additional help or information on Windows, I'll be happy to help you. We, at tender Microsoft to excellence.
  • Unable to see the Internet Explorer icon on the start screen

    Original title: Internet Explorer 8

    I did a cover a couple of days. Once this was done, I tried to install IE8.1 which failed due to 185 Microsoft Updates that must be filled. I allowed the updates to install, and now the IE icon is not in the bar of tools or even included in the applications.

    I tried and tried to reinstall IE8 or even version 8.1 which will not download. I have not physically installed Microsoft 10.

    I also welcomed the firewall off which did not help.

    Can someone give me some good advice on how to reinstall IE8?

    Thank you

    Hello

    Thanks for posting your query on the Microsoft Community.

    According to the description, you can not see the Internet Explorer icon on your desktop and on the start screen.

    I would like to inform you that Internet Explorer 10 is the default browser with Windows 8. And you would not be able to upgrade to Internet Explorer 8.

    For Internet Explorer App I suggest you follow the method below and check if that helps:

    Method 1:Follow the steps:

    1. press the Windows key + W key

    2. type set your default programs and press ENTER.

    3. Select Internet Explorer, then click on set this program as default.

    4. the modern mosaic user Internet Explorer interface should be back:

    If the problem persists, try Method 2,

    Method 2: Follow the steps

    1. press the windows key

    2. type of Internet Explorer.

    3. right click on Internet Explorer:

    4. Select Pin to Start.

    If the issue is not resolved, try Method 3,

    Method 3:

    I suggest you follow the steps below to set Internet Explorer in the desktop.

    (a) open the C drive, where the system files are stored.

    (b) open the Program folder files,.

    (c) now open Internet Explorer folder.

    (d) right click on iexplorer.exe and select Create a shortcut on the desktop.

    Please follow the steps below on pin of Internet Explorer in the taskbar.

    (e) where open C drive system files are backed up.

    (f) open the Program folder files,.

    (g) now open Internet Explorer folder.

    (h) right click on iexplorer.exe and Pin to the taskbar.

    Note: If you use Windows 8 64-bit the iexplorer.exe is located in the folder Program files (x 86).

    Hope the helps of information. If you need assistance, please feel free to post. We are here to help.

  • Apps do not appear in the start screen; Store does not work

    Original title: I've lost all the boxes on my screen of such start-up: Xbox Music, store, games and everything I downloaded from the store.

    How can I recover these applications. Microsoft shuts me after having problems of security in my system (mail, identity and etc.) these problems have been resolved, how can I solve these issues. ? I love these apps and want to continue to enjoy. I pinned the store, but when I try to open it, it is upward (like the icon of music), but they come immediately to my office.  Help, please!

    Hello Shirley,

    Thanks for posting your query on the Microsoft Communities.

    I'm sorry to hear that. I guess this must be frustrating. Let me try and help you with the problem.

    What do you mean exactly by "Microsoft shut after having security problems?

    Kindly, follow these methods and check if that helps:

    Method 1:
    Check if all applications are in the section "my applications".

    If you are able to find the apps in the "My apps" section, then refer to this article and PIN back to the start screen.

    What happened to the apps on my PC?

    http://Windows.Microsoft.com/en-us/Windows-8/what-happened-apps-PC

    Method 2:
    Now try to run the Troubleshooter of Apps. This tool can automatically identify and fix problems with applications and store.

    Method 3:
    Also, for the problem the Bank of Windows, let us try emptying the cache memory store:

    a. type in the right edge of the screen, and then click Search.
    b. enter run in the search box and then press or click run.

    c. Enter the command wsreset.exe run and then press or click OK.

    Let us know if it helps. If you have any other questions, we will be happy to help you.

  • Apps launches and closes to the start screen

    Original title: Apps will be not open.

    When I try to open an app, it seems to believe it will work, then closes back to the start screen. They do this, they worked fine a few days ago.

    Hi Brenda,

    Please answer a few questions to refine the question.

    1 is this application-specific problem?

    2. which antivirus program is installed on the computer?

    3. are you aware of changes to the computer before the show?

    4. do you receive any error messages?

    We will analyze and identify the cause of the problem.

    I recommend to run the troubleshooter app and proceed as described in the article.

    Solve problems with a soft

    http://Windows.Microsoft.com/en-in/Windows-8/what-troubleshoot-problems-app

    Hope this information helps. Response with status so that we can help you.

  • Journ.e Touch suspended on the start screen

    My Journ.e Touch just doesn't start. She is new and fully charged (about a month, rarely used). When I turn on the Tablet, it does not start the operating system, it can stay on the start screen for hours, or until the battery is flat. I can't stop, and even make the reset does not solve the problem. It worked fine before, also, today I managed to once, but now - nothing...
    What can I do?
    Thank you in advance.

    Hello thomas.b,

    You should do a firmware update to version E1.1.00.

    After that, the problem should be solved.

    How to, and a link where you can download the update here:
    http://APS2.toshiba-tro.de/KB0/OPT0502VS0000R01.htm

    Best regards

  • S90 stuck to the start screen

    My S90 is stuck at the start-up screen. It shows the screen of stand for hours now. If I change the switch it will not swtich off the phone, but it restart again to the start screen. What should I do with it?

    I felt that I could let it run out of battery, but I don't know how the phone can operate on a screen for single cabin with just the lenovo on-screen log. Also don't know if once I reboot it wouldn't have the same problem.

    Any advice how to fix this?


  • HP MS235 pavilion in a single reboot after the start screen guard

    Hi all.

    can anyone help wih this problem I have with my computer hp pavilion MS235 that keeps just reboot after the splash screen.

    What happens is that the system began to hang at start up. It would take about an hour to get to the Welcome screen. could not do anything even not to make a recovery, so I put the drive in another machine and he made a new installation. but since then it just keeps restarting to the start screen. I ran all kinds chech af, but nothing works.  I'm on win 7 x 64.

    Please can someone help! Thank you.

    Concerning

    Dave.

    Start at this page: http://support.hp.com/us-en/document/bph07143

    Or here: http://www.computersurgeons.com/SearchProducts.aspx?sbt=pavilion%20MS235&bkm=Results#Results

  • How to recover my apps which are lacking in the start screen and access?

    Original title: Apps

    IN the start screen several pre-installed applications are missing, for example maps, news, weather, etc. When I want to re install through the store, I get the message that they are already installed. How do retrieve my apps and access?

    Thanks for your help

    Buri Ram, Hi

    Thanks for posting your question in the Microsoft Community.

    I understand you want to know how to get Windows apps like Maps, Weather, News etc on Start menu are missing. Correct me if I'm wrong.

    I imagine the inconvenience that you are experiencing. I will try to help you in the matter of fixing.

    To help you suggest several steps to solve the problem, I would appreciate if you could answer the following questions:

    1. did you uninstall applications?

    2. don't remove you applications on the start menu?

    Follow the steps below to get the missing apps in the start screen and check the issue:

    a. press the Symbol of Windows and type one of the missing apps Ex name: cards.

    b. you might see maps in the top left corner, right-click on it and click PIN to start from the bottom task bar.

    c. check the missing applications in the home screen to see the Maps application; Get all missing apps in the same way.

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

    In the future if you fall on any question relating to Windows, please do not hesitate to post your request here on Microsoft Community, we will be more than happy to help you.

Maybe you are looking for

  • ProBook 6570b - are the CPU & GPU extensible?

    Hi, I bought a refurbished Probook 6570b running Windows 7 Professional 32 bit. It seems it does not come with the cpu core but rather a celeron B840 1.9 GHz, not more, it has a discrete graphics unit. My question is this. The CPU & GPU are scalable?

  • format wondows 7 of my hard drive

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! format from wondows 7 of my hard drive "I want to load XP in my new laptop windows 7»

  • Computer hangs at startup of the system

    Original title: computer crashed win Defrag I recently picked up win defrag... I have windows xp and tried to put it in safe mode, and it froze.  Now it is completely empty when I try to start :(  I removed my hardrive and crossed norton key usb conn

  • How can I remove control file ca parental avg

    I uninstalled program anti-virus AVG CA more than two years ago and I'm still stuck on parental control.  I can't find this file which continues to block me on many web sites.  Frustrating.  This program is not in my control panel, but I think that i

  • Documents 2.0 blackBerry Smartphones and BB Desktop Manager

    I know that I can move my Documents to go 2.0 standard for free. But if I do that the BB Desktop Manager wants, or downgrade and causes an error with my BB 8530 from US Cellular. Is it possible to add the version 2.0 for Desktop Manager so that it re