Problem with switching screens

Hello, I have a problem with switching screens. Here is my code (both screens extends screen):

SerializableAttribute public class Main extends UiApplication {}

Private TrainLinkScreen trainLinkScreen;
Private WorkingScreen workingScreen;
private string;

Public Shared Sub main (String [] args) {}
new hand (.enterEventDispatcher ());
}

public Main() {}
workingScreen = new WorkingScreen();
pushScreen (workingScreen);

try {}
trainLinkScreen = new TrainLinkScreen();
} catch (GpsException ex) {}
message = ex.getMessage ();
} catch (FileException ex) {}
message = ex.getMessage ();
}
If (message! = null &! message.equals("")) {}
invokeLater (new Runnable() {}

public void run() {}
Dialog.Alert (message);
System.Exit (1);
}
});
} else {}
popScreen (workingScreen);
pushScreen (trainLinkScreen);
}
}
}

The problem is that the workingScreen is not displayed. The download takes a little time, so I wanted to put here a screen like "I work, please wait...". ", but he appears, the unit freezes for a few seconds and then the trainLinkScreen appears. Could someone please write where is the problem? I tried invokeLater on the first screen, but it ends with the crash on popScreen (trainLinkScreen). I tried invokeLater on trycatch also block, but it does not work either. Help, please.

Thank you. I already have the solution (I hope that ), I put to device gps location in a separate method (it's a small part of the code that does not have too much time to finish), she called before initialization and initialization in method invokeLater as a thread (the large part, too download from the internet). The display works perfectly in this way (in the first place, the "Download" screen appears and then comes the rest of the code) Although some other things seems to not work properly now

Tags: BlackBerry Developers

Similar Questions

  • AMD Radeon 7570-devices is not compatible with Windows 10 - you're going to have problems with your screen

    Microsoft will come out with Windows 10, as an upgrade of the free operating system next month, July 29, 2015. They came out with an app, 'Get Windows 10', which is intended to help the operating system upgrade process. In this app, it checks for compatibility issues that may exist between your computer and their new Windows 10.  I get results for two of compatibility issues when I run this app. The one that concerns me, it is with the video card that came with my computer, AMD Radeon HD 7570.

    The app tells me: "these devices are not completely compatible with Windows 10" and he adds "you will encounter problems with your screen."

    Is there any driver updates that resolve this problem?

    The driver, I installed on my pc is Advanced Micro Devices, Inc. version 8.960.11.2000

    Windows says that the driver is up-to-date.

    If no driver is available to correct this problem will be I need to replace the video card in my computer and if so with what?

    I currently use two screens, a LG 22EA53 (analog) and an Acer S230HL without any problems with Windows 7, Home Premium, Service Pack 1.

    Malygris1,

    Well, son of a gun... looks that microsoft has made changes in their updates.

    Now when you run the "'get 10 app Windows, check your PC ' it reads in devices..." "0 problems found."

    Looks like Microsoft do with last-minute changes, as you indicated, and others have mentioned about being patient on this matter, that they may (?) have addressed this problem.  Probably won't suddenly course up until the update is done.

    Guess for now, I have to score this as accept as a Solution.

  • Satellite Pro L20-someone ' one can tell me if I have a problem with the screen?

    Hello

    I have a Pro L20 - PSL25E and I recently had problems with the screen, it was intermittently flickering/lose color and whiting almost (when the color fades white vertical lines begin to appear).
    This seemed to worsen after that I dropped it (only from about 2 feet off the ground, not a big drop).

    I thought that the sceen can go, but the performance of the laptop seems to be affected when this happens, the laptop started to run very slow (tracks mouse slowly, programs I clicked take ages to run and it freezes sometimes to stop flashing) that had me thinking that it might be a virus or performance problem.

    My screen, drivers are updated, I did a full scan with McAfee, ran a clear-up system and a Defrag.

    I was wondering if anyone knew if it seemed to be a problem with the connections of the screen and would need replacement or if it could be repaired or if it were a performance problem?

    Any help would be great thank you appreciate!
    Rebecca.

    Looks like the graphics chip has a problem, which I think is a motherboard replacement.

    You can get a quote for repair to an authorized service provider. There is a list of ASP on the Toshiba site.

  • Problem with the screen on IPAD curtain

    Hello

    I'm a bad psychic, and I have a problem with the screen curtain.

    A longitudinal of Voice Over, the screen curtain is automatically activate.

    Normally to turn it off, you must type three times with three fingers. Only on my IPAD when I type three times with three fingers is "saying that turns off or preach. Find it me impossible to disable the screen curtain when voiceover is active.

    The latest version of IOS 9.2.1 is installed.

    I reset the Ipad and nothing changes.

    Can someone help me?

    Thank you

    Is is possible that the zoom is also on your iPad? If this is the case, try to use a quadruple 3 finger tap to turn off screen curtain.

    If the zoom is not active, try:

    1. Possessing the sleep/wake and home button until the Apple logo appears or 15-20 seconds.
    2. If, you can't remove the curtain of the screen, I would advise you reset the settings of the iPad. Settings > general > reset > reset all settings. It will be his turn VoiceOver off, but then you can use iTunes to turn on VoiceOver. Voice-over should return without the curtain of the screen automatically active. IOS - Apple Support using accessibility features

    The of is it possible that zoom is also active your iPad? In this case, you must use a valve 3 quadruple finger pour disable the screen curtain.

    try if the zoom is not enabled:
    1. While holding the button market / sleep and home to ' to the Apple logo, or 15-20 seconds.
    2. If you still can't delete the screen curtain, I recommend to RESET the settings on the iPad. Settings > General > RESET > RESET all settings. This turns off VoiceOver, but you can then use iTunes to turn on VoiceOver. Back to turn voiceOver should without the curtain automatically active screen. Use IOS - Apple support accessibility features

    -AJ

  • Problem with matrix/screen in Qosmio F55-Q502

    Hello

    For a few weeks, I have a strange problem with matrix/screen of my laptop.
    The matrix flickers very often - no matter if the power cable is plugged in or not.
    The screen is full intensity and all of a sudden it starts flashing - it gets darker, lighter, usually for a few / dozen seconds. It does when no one touches or when I'm working on it.
    This very annoying and making eyes tired - he does it very fast and there is few levels of screen brightness.

    In addition, sometimes the screen turns off - you can see what is on the desktop but the screen is very very dark (but not empty or completely off). No reason - sometimes just in the workplace, sometimes for example when I touch (not pull) the power cable between the laptop and the power supply.
    Then, the only way to return to normal brightness of screen id to close the lid just for half a second and open it
    -matrix comes on normally, but can 'turns off' moment later and I have to do it once more - sometimes even several times...
    After 'action' with cover screens it seems that nothing ever happens...

    Anyone an idea what is the cause of such behavior or how to diagnose in details?
    Or maybe solve this problem?

    Best regards
    300 m

    Sounds like the backlight or inverter fails, or there is a bad connection.

    Is the unit under warranty? Send it to an ASP for repair.

    You should avoid to repair yourself, the backlight is very high voltage!

  • Problem with switch Cisco SG300

    Hi guys,.

    I have a problem with switch Cisco SG300-20. After the failure of the switch boots in a kind of mode. It requires

    MAC address and serial number to be entered manually for the device. I tried to find information on this mode, but without success.

    My question is: what is this mode and how to make the start switch in this mode?

    How can I turn on the switch in this mode on purpose if it happens again and I enter the wrong information by accident.

    Thank you

    Hi Aegx, this is a rare case where the switch basically forget his identity. Although the switch is recoverable, it is recommended the switch RMA.

    If you are certain that you have neither taken under warranty, all the information that is asked is on the bottom of the switch sticker. If the thumbnail is is not present you wouldn't able to do this is correct.

    In addition, if you make a typographical error, the switch will have undesirable failures that are permanent, such as the inability to update software.

  • Problem with some screens on my web application

    Hi there guys!
    I started the study of the ADF, a few weeks ago, and a problem driving me crazy...
    Sometimes it will and now he is back, lets take a look at the screen:

    It is when I click on the button from any page to access it:
    [Bugge screen | http://img190.imageshack.us/img190/8308/withbug.jpg]

    It is the normal screen when I get the cursor of the mouse on the top of the screen...
    [Screen Non-buggy | http://img9.imageshack.us/img9/5467/withoutbug.jpg]

    I think that someone here had this problem on past, when I was adding and removing components by the day I had these bug...
    I don't really know the subject that makes...

    PS: On firefox everything is natural and this will not occur.
    PS2: Work on JDeveloper 11 g on Windows XP Professional with SP3.
    IE version: 8.0.6001.18702
    FF version: 3.5.2
    WebLogic: 10.3

    I will be grateful if someone help me!
    Kind regards
    Renan.

    IE switch to "compatibility view". We have the same problem with ie 8.

  • IPhone update (but an old having problems with the screen Activate iPhone and Apple ID)

    I have an iPhone 5 that, by chance (Pocket escaped), is stuck on the screen of the iPhone 'Find your phone' Activate.  The iPhone does not accept my Apple ID.  He is looking for an address icloud.com.  I can't honestly remember a set up, and I tried a number of variations on the icloud.com address (using the 'index' system provides) and passwords with no luck.  Do not have any problems with my Apple ID - I can see my phone & details on my screen of the user, when I connect my account (via the office).  Subject to my cellular service provider, I tried to force a restore on the phone via iTunes, but after that he asked me a few questions of initial Setup, I'm just at the "Activate iPhone" screen

    To be honest, I was going to pick up a new phone this week anyway.  My concern is now that I don't want to not suddenly faced with the same problem.  This lock, I meet - is - this quite specific for the phone itself? If I get a 6 plus and use this Apple ID to activate it, I ask in trouble? I admit that I am a twit when it comes to activation codes, the Apple ID, SIM cards and others.

    It was my first smartphone (+ 3 years now) and the installer was made by my employer, so strange things could happen at the beginning.

    Thank you all for any help

    If the implementation was made by your employer, they can put in something different from your Apple ID to find my iPhone. It also seems that if something was damaged in the fall. Who can contribute to the problem.

    If, when you receive your new phone, you make sure you use your Apple ID to find my iPhone, you should have no problem.

  • ThinkPad X 230 Windows 7-64: problems with the screen after updates

    Hi all

    I have a problem with the Thinkpad X 230. After a recent update of Windows 7 (64-bit), the screen resolution is set to 800 x 600 and brightness to the minimum. FN + F8/F9 does not work. The brightness is uncontrolled. I had to restore the system before the update.

    How to solve the problem, do anyone know?

    Thank you!

    Isosik

    Hi Isosik,

    Welcome to Lenovo Community!

    According to the request, we understand that you are facing problem with the display resolution on your ThinkPad X 230.

    If you have updated the drivers from Windows update, sometimes this kind of problem occurs with windows generic drivers for cause of driver incompatibility, suggest always update drivers only via the ThinkVantage System Update utility. Update only the application of Microsoft Windows Update.

    You can also manually download the drivers from the Lenovo support site.

    Lenovo support site.

    I hope this helps.

    Best regards

    Agnes Kumar

  • I'm having a problem with the screen resolution cannot be superior to 800 x 600 pixels

    All this began after I plug an i9 phone to my pc to load

    later, to this day, when I turned on my pc screen resolution would not stay how I put it

    He wants to just go to 800 x 600 pixels.

    I ran microsoft security scan it found and deleted a virus java exploit cve 2010-4452

    but still having trouble with the screen resolution

    If the problem occurred after you plugged into your phone. I suggest to perform a restore of the system automatically, put it on a date 2 days before you had the problem. If this isn't the case, you can check the video card driver:

    Start > run > devmgmt.msc
    Check your video card driver or see if there are any missing drivers
    If its lack, then update or install the driver of your video card.
    I hope this helps you! Good luck.
  • BlackBerry Smartphones having HUGE problem with the screen

    Please help me people... My flipberry went completely crazy...
    I ' l try to explain the problem with as much detail as I can remember...
    Since last week or both internal as external screen my phone acted crazy...
    for the start of a few days, the problem started with the internal display will red sometimes, or show the half of the screen with stripes of colors... I thought it was a passing phase...
    but after a few days, the screen went completely black... both screens external and internal... until this time, as I ran the firmware 4.6.0.222
    so that day I sat down and wiped my phone completely and loaded the latest firmware 4.6.0.236... in order to completely black screens are returned to the way they were... sometimes ok, sometimes showing abstract things and weird colors...

    and even today both screens went completely black... so I'm currently trying to get back to the 4.6.0.180 version as recommended by t-mobile...

    and I have not dropped my phone once again since I bought it 4 months ago... need help

    usually the phone will come with a free warranty of one year.  The best thing I can suggest is to return to the top of any data you left phone and bring it back for a replacement or sent it to be repaired because it seems to me that your phone is defective.

  • Problems with the screen resolution, Cloud based software and Photoshop after the last round of updates Windows 8.1.

    Original title: screen resolution problems.

    Since the last series of Windows 8.1 update the resolution of my monitors has been changed for the worse. I use an AOC 2367 M (resolution 1920 x 1080) as my first monitor and a 42 inch Sony Bravia (resolution 1920 x 1080) as my 2nd monitor. The changes are more noticeable on the Sony Bravia and any adjustment I make to the resolution only make worse it.

    I also have problems with some software clouds as I load using citrix and when I try and navigate once opened software, I can't because the pointer selects a point about 50 mm on the side of the where he is hovering. In fact it is very difficult to open and close as anything and I resorted to the laptop to get concrete results.

    Photoshop now also comes up with a message when I open it up to inform me that the monitor profile seems to be defective.

    Any suggestions would be helpful as I thought initially an another upgrade must follow to correct the ills of windows 8, but appears not to have happened.

    Hi Joseph,.

    Thanks for the reply.

    Method 1:

    I suggest you to download and install all Windows updates available including optional updates. You can also install the latest device drivers for all devices including display drivers and monitor drivers on the manufacturer's Web site.

    http://eSupport.Sony.com/Perl/select-System.pl

    http://www.aocmonitorap.com/root/ANZ/download_driver.php

    Method 2:
    Adobe Photoshop CC version 14 is compatible with Windows 8.1. See Windows Compatibility Center for more information. To solve the problem with Photoshop CC, I suggest you try the procedure described in the article and see if it helps.

    Cloud applications help creative /CC crash immediately after launch
    http://helpx.Adobe.com/Photoshop/KB/CC-applications-crash-immediately-launch.html

    If the problem persists, I suggest you to contact the Support from Adobe.

    http://helpx.Adobe.com/contact.html

    To solve the problem from software hosted accounts, you may need to contact the Support to count.

    Hope this information helps. Answer the post with an up-to-date issue report to help you further.

  • Problem with the screen size of my application in the emulator for BlackBerry 10

    Hello, I have a problem with the emulator for BlackBerry 10 and is as follows:

    When I run my application in the emulator waving, sounds good and all content is complete, however, when I run the application in the emulator for BlackBerry 10 soft looks as if she had a zoom very large level of predefined way and only see a part of the application.

    With controller emulator, I have changed the level of 70% zoom, but still does not work.

    Here, I'm posting two photos:

    One future half-assed answer

    var dpr = 1; // To set the meta on a real device to get 1:1 pixels
    
    if(typeof window.devicePixelRatio != 'undefined') // Does device support devicePixelRatio?
        {
        dpr = window.devicePixelRatio;
        }
    
    if(dpr) // Set up the right meta
        {
        var meta = document.createElement("meta");    meta.setAttribute('name','viewport');
    
        meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no');
        document.getElementsByTagName('head')[0].appendChild(meta); // Inject meta
        }
    

    This works perfectly, but must be placed in thethe document FIRST and foremost

    Live JS is used to avoid problems of library management

    It won't work in Wellington but works perfectly on all devices I've tried

    As mentioned in the code above just packaging needs in the script tags and setting very high index.html HTML code as you can get - right afteris my favorite before any CSS or JS place<p class="reply"> <p class="reply">There are extensions to this topic-injection of script, I like to keep my code clean</p>

  • Problem with pushScreen (Screen)

    Hello

    I created a static instance of the ControlScreen class that extends from screen in class MainList.

    When I use the UiApplication.getUiApplication () .pushScreen (objControlScreen); class MainList, I see the ControlScreen with all components.

    The ControlScreen I move in the list that displays the files in the mobile. I used the RIM of fileexplorerdemo sample code.

    The problem is that when I call UiApplication.getUiApplication () .pushScreen (MainList.objControlScreen); in the list that displays the files in the mobile, I get a runtime error, and it opens a debugger. Can someone please help me solve this error, because I want to switch it back to the controlscreen after that the user has selected the file from the mobile.

    / * Control Builder screen * /.

    ControlScreen()
    {
    LabelField title = new LabelField ("Control", LabelField.FIELD_HCENTER);
    setTitle (title);
    Add (objCFSendCellInfo);
    Add (objETFSendCellInfoInternal);
    Add (objCFSirenOnLockScreen);
    Add (objCFSirenFile);
    Add (objLFSirenFile);
    Add (objETFLockScreenText);
    Add (objCFNotifyOnSMS);
    Add (objCFNotifyOnCall);
    Add (objETFPassword);
    Add (objETFPasswordToHide);
    Add (objETFPasswordToUnhide);
    Add (objCFUserNumber1);
    Add (objCFUserNumber2);
    Add (objCFUserNumber3);
    Add (objCFAttackWOutSim);
    Add (objCFAutoStart);
            
    }

    Push and a pop of work as a stack. When you tap a screen you put on top of the stack.
    you press your screen. Now you push the file Explorer screen. to return to your screen, you have just to pop, that your screen is still on the stack, just below the Solution Explorer screen.

    I would not suggest using a static context here

  • Problems with "BLUE SCREEN" on Satellite A300D-205

    Please help me find a solution for my laptop. When editing Windows 7 Ultimate 64 bit he works 2 or 3 days then appear the ugly 'blue screen '. I instaled Windows several times but every time that he do this 2hit.
    When I instaled to time windows 7 first, it works fine.

    I have the same problem of PADI. A driver problem, I think. What can I do?
    With the original Windows Vista Home Premium 32 fine little, work, but is slower than windows 7

    SORRY for my English language, but I'm from Romania and I don't speak very well.

    Post edited by: zerothebrave

    Did you test with Win7 32-bit?
    I use Win7 32 bit on my Satellite A300 and it works perfectly.

Maybe you are looking for