Showing a standby screen while the background processing

Hi all

I implement a wizard have been I let the user fill in some parameters of network connection. When the user clicks 'next' I want to run a background process to see if the entered parameters are correct. According to the result of the background process, the wizard can continue to the next screen or remain on the current screen.

There must be something like this:

boolean onNext()
{
  // Executed when the user presses 'next' (run in the EDT)

  // Show a wait popup
  UiApplication.getUiApplication().pushScreen(progressPopup);

  // do my network stuff
  boolean success = false;
  UiApplication.getUiApplication().invokeAndWait(new Runnable()
  {
    public void run()
    {
      // try to connect to the network
      // ...
      success = true;
    }
   });

  // hide the popup
  UiApplication.getUiApplication().popScreen(progressPopup);  

  // return whether the network stuff was successful
  return success;
}

This does not work because the popup does not appear. How can I achieve that?

Thanks in advance!

Modal screen is very good and has some advantages, in that it means that your logic that knows what it is in the State.

What you want to do depends on the application.  For example, we have a server locator tool, the user launches the search, then we do not secure anything, except that they cannot launch a new search until they cancel the old one.  Alert us when the search is completed or dead or expired.

With a modal form (and we do too) I personally like this to have a Cancel button, so that the user can stop waiting - which complicates the Interface.  In fact, there is a case for the wireless network to bring an observer of the screen modal, so that he knows that he has to ignore the answer if the screen has been cancelled.

Tags: BlackBerry Developers

Similar Questions

  • Hi can someone help me... I try to open my photos of microscope and all of them are just empty black screen while the merged file shows the image. I can't change grayscale in RGB color space (like my single images the info on them is

    Hi can someone help me... I try to open my microscope fluorescnece images and they are all just empty black screen while the merged file shows the image. I can't change grayscale in RGB color space (like my single images the info on them is gray and the merged image color space is RGB)

    Try to update your video card driver to exclude

    Then reset your preferences - with Photoshop CC you can do it in the preferences. Earlier versions require that you press the modifier keys that you launch Photoshop. Ctrl alt shift on Windows or cmd opt shift on Mac.

  • This just showed on my screen while using Firefox in a small box: "Applecare would like to view your screen".

    This just showed on my screen while using Firefox in a small box: "Applecare would like to view your screen".

    You specifically asked for their help? If this isn't the case, then dismiss the dialog box. It's probably a scam coming through your browser open.

  • CHKDSK replaced the security id not valid with default security id & showed a black screen with the mouse cursor

    Hi you

    After running CHKDSK, it said replacement of the security id invalid with the default security id in windows 7 64 bit

    After that it's over, he just showed a black screen with the mobile mouse cursor!

    I searched but did not find the answers on Microsoft

    Please help me

    Hello

    Thanks for posting your question on the Microsoft community.

    We need more information about the issue so that we can help you better.

    Check the drive run at Windows startup?

    Thank you for details on the issue.

    This message is displayed because the specified file has an invalid security ID. Each file on a NTFS or FAT volume has security what ID assigned. The ID assigned to the data file does not match the ID assigned to the security data stream file ($SDS). There is a mismatch of Ids. CHKDSK replaced the invalid security ID.

    Black screen with cursor may appear due to corrupted display driver.

    I suggest you try using the steps described in this article and check.
    Reference:
    Why my screen is black when I start Windows 7?
    http://Windows.Microsoft.com/en-us/Windows7/why-is-my-screen-black-when-i-start-Windows-7

    Important notes:
    Serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    http://Windows.Microsoft.com/en-us/Windows/back-up-registry#1TC=Windows-7

    Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    When you use system restore to restore the computer to a previous state, the programs and updates that you have installed are removed.

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • Read mp3 file on the home screen in the background.

    Hi all

    I want to play an mp3 file on the start screen in the background.

    Please provide any suggestions for this its very urgent please.

    Thanks in advance.

    I am interesting with your own splash screen. I have assumed that you set up a timer to close the sheet of splash, is this correct?

    When the leaf is closed, is it you need to change the scene in your main or only to close the startup worksheet then will prove the main screen.

    The reason for my question is you wonder how you can disable the animation of pulling it up or pulling down sheet.

  • complete execution while the background thread runs

    After the passage of TestStand 4.1 in 2012, I see an interesting problem.

    I start a MainSequence via the SinglePass execution entry point using the parallel model. In ProcessSetup (in the execution of N), I start a background thread that performs certain tasks for viewing. Then the model passes by "Initialize TestSockets" and starts my MainSequence (in year N + 1).

    While the MainSequence is running, run N hangs in ParallelModel.seq > Single Pass, step "Wait for TestSockets", as it should. Usually, when the MainSequence is over, puts an end to execution and execution N goes to the next step "Check to terminate" and some time later, it passes through ProcessCleanup - where I'd send my background thread notification to stop.

    It works as long as I do not start the background thread. But when this thread is running, the execution of N + 1 never leaves the MainSequence. I arrive at a breakpoint at the end of MainSequence, ahead, and then all executions are happily showing a green light and continue to operate on. So running N never leaves "Waiting for TestSockets" and never reaches ProcessCleanup, so my son does not receive the signal of endpoint etc.

    But I distinctly remember that it worked in TestStand 4.1, and anyway, I don't understand this. Why, a background, started in the execution of N, thread prevents the execution of N + 1 to terminate?

    Concerning

    Peter

    "When execution starts a sequence in a new thread (not waiting for the thread to finish at the end of the sequence), should take care at the end of his MainSequence wire in order to put an end to herself in order for execution to terminate?"

    What do you mean by terminate? Process templates are not normally completed executions. Do you mean, "all discussions in an execution must complete before the end of the execution?"? If so, then the answer is Yes.

    I'm not completely your explanations above. I'm not sure what you mean by signs, but I think you're misunderstanding what terminate means in TestStand. Termination occurs only when a user explicitly requests a run to finish (e.g. finish all) or your sequence has an action to complete or by program initiates a terminate. Without endpoint explicit that past, executions normally end when all threads are finished executing. If you are spawning runs and new threads, you must come up with a mechanism to let them know when they have to leave. I do NOT recommend relying on or using termination for this. Termination is as abandoned (but with a cleaning), it is not intended to be something that happens in the normal flow of execution. There are several ways to tell your worker when all discussions. Perhaps this posting you are referring to is a way. You can also use a notification teststand step, or a Boolean value in reference parameter.

    Hope this helps to clear things up,

    -Doug

  • Satellite A45-S150 - black screen after the recovery process

    After problems with a virus, I ran the recovery disk and reformat the hard drive and reloaded the OS. When the process pushes me to remove the disc, it begins to restart, but only shows a black screen. I restart the process of recovery only with the same results.

    The laptop came loaded with XP, but that the recovery Application is running, it says it is loading Windows 98. Could the original recovery disc was loaded with the wrong operating system?

    What's next?

    Hey,.

    > I restart the process of recovery only with the same results.
    You can install Windows using a normal Microsoft Windows disk?
    So, you can check if the problem is related to the computer laptop or recovery disk itself.

    > it says that it is loading Windows 98
    Don t worry not about this message. As far as I know it has something to do with the software that allows you to copy the recovery image on your HARD drive. Recovery disk still contains Windows XP ;)

  • Issue of permanent withdrawal for the background process

    Dear all,

    Oracle DB Version: 11.2.0.3

    Version of the OS: RHEL 5.10

    We have the below listed (with the exception of the mandatory process) background process when querying using the command "ps" on the DB server:

    ora_e006_SID
    ora_w001_SID
    ora_smco_SID
    ora_e007_SID
    ora_e008_SID
    ora_j000_SID
    ora_j001_SID
    ora_qmnc_SID
    ora_cjq0_SID
    ora_emnc_SID
    ora_q000_SID
    ora_q001_SID
    ora_e000_SID
    ora_e001_SID
    ora_e002_SID
    ora_e003_SID
    ora_e004_SID
    ora_e005_SID
    

    Whenever we're tyring to stop the database, he's waiting for active sessions. I predict the cause are treated the foregoing that delay the restart. I also predict that these background processes are releated to Oracle Streams. Can someone help me remove all background processes above? Can I permanently a solution? I've traveled to several sites but could not find the exact solution I'm looking for.

    SQL> show parameter aq
    
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    aq_tm_processes                      integer     1
    
    

    Above is the setting for the QA process.  Thanks in advance for the help.

    Kind regards

    Imran Khan

    This is resolved. It was a bug in 11.2.0.3. Raise SR Oracle and got the one-time patch. Applied and since then, it is not question at all.

    Thank you

    Imran Khan

  • Great for the background process paging space

    Hello
    in my former base 9.2 (on AIX) I see paging high use of space for background processes.
    #> svmon -Pg -t 1 |grep Pid ; svmon -Pg -t 10 |grep "N"
         Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
     2285578 oracle          304609    81552   500909   605395      Y     N     N
     3350676 oracle          304588    81552   500643   605149      Y     N     N
     1794254 oracle          304592    81552   500634   605126      Y     N     N
     2744508 oracle          304567    81552   500189   604671      Y     N     N
     2588796 oracle          304700    81552   499905   604421      Y     N     N
      708788 oracle          304657    81552   499842   604336      Y     N     N
      598034 oracle          304621    81552   499696   604182      Y     N     N
     3035252 oracle          304666    81552   499662   604167      Y     N     N
     2736282 oracle          239031    81552   418381   522499      Y     N     N
     1220740 oracle          238960    81552   418310   522410      Y     N     N
    
    #> ps -eaf|grep 2285578
      ora9R2 2285578       1   0   Mar 01      -  0:28 ora_pmon_MYDB
    
    #> ps -eaf|grep 3350676
      ora9R2 3350676       1   0   Mar 01      -  0:34 ora_dbw0_MYDB
    
    #> ps -eaf|grep 1794254
      ora9R2 1794254       1   0   Mar 01      -  1:24 ora_ckpt_EGOV
    The database do nothing (from 09:00 to 17:00):
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                                       ---------------       ---------------
                      Redo size:                852.37             37,511.73
                  Logical reads:                 31.39              1,381.25
                  Block changes:                  3.35                147.35
                 Physical reads:                  0.09                  3.96
                Physical writes:                  0.16                  6.89
                     User calls:                  2.24                 98.51
                         Parses:                  1.33                 58.34
                    Hard parses:                  0.10                  4.27
                          Sorts:                  0.63                 27.93
                         Logons:                  0.01                  0.61
                       Executes:                  2.07                 91.04
                   Transactions:                  0.02
    But the free bolt is 40%:
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                                     % Total
    Event                                               Waits    Time (s) Ela Time
    -------------------------------------------- ------------ ----------- --------
    latch free                                          1,580          88    42.63
    File system mount options are correct (cio of dbf, etc.)
    Parameter:
    filesystemio_options                 string      async
    disk_asynch_io                       boolean     TRUE
    optimizer_mode                       string      RULE
    Any ideas why it uses a lot of paging space?
    Thank you.

    Mr.D. says:

    sb92075 wrote:

    Mr.D. says:
    Hello
    in my former base 9.2 (on AIX) I see paging high use of space for background processes.

    What value will the use of paging to be OK to be 'high '?
    Is this true & valid value for EACH database on this planet?

    Do you realize that the modern BONES are actually DESIGNED for the page?
    So why is that a bad thing, report you it?

    Yes I realize
    But if topas show me about 20% wait for I/O and the affected hdisk is the swap and it is occupied about 97 to 100%
    I think that there is a problem.

    Thank you.
    >
    >
    >

    Hello
    in my former base 9.2 (on AIX) I see paging high use of space for background processes.

    What value will the use of paging to be OK to be 'high '?
    Is this true & valid value for EACH database on this planet?

    Do you realize that the modern BONES are actually DESIGNED for the page?
    So why is that a bad thing, report you it?
    Yes I realize
    But if topas show me about 20% wait for I/O and the affected hdisk is the swap and it is occupied about 97 to 100%
    I think that there is a problem.

    Thank you.
    If the OS is really trading & Oracle is only application on the server system, then SGA is too big.

  • Lenovo T410s and Mini Dock Plus Series 3 with 2 monitors DVI, white screen during the boot process

    Hello

    I'm having a problem with the configuration of my lenovo thinkpad T410s.

    I have connected two 19' DVI monitors for the docking station, but during the startup process, I get no output on screens.

    After loading Windows 7, the windows login screen.

    In the BIOS all the graphics preferences are being "switchable graphics", because I also use it on business trips.

    Does anyone have an idea how to solve this problem?

    Thank you!

    Michael


  • Extra-large everything on screen (except the background photo).

    All my icons, the pointer arrow and the background are HUGE!  I selected Classic icons and small DPI without result.  Please send a solution to change everything on my screen back to normal size.

    Thank you!

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If the above does not fix it:

    Go to the website of the manufacturer of your computer/laptop > drivers and downloads Section > key in your model number > look for the latest Vista drivers > download/install them.

    Then:

    http://Windows.Microsoft.com/en-AU/Windows-Vista/change-screen-resolution

    Change the screen resolution

    Screen resolution refers to the clarity of the text and images on your screen. At higher resolutions, items appear sharper. They appear also smaller, so more items adapted to the screen. At lower resolutions, fewer items adapted to the screen, but they are larger and easier to see. At very low resolutions, however, images may have serrated edges.

    See you soon

    Mick Murphy - Microsoft partner

  • Inter Process Communication and Hidden in the background process?

    Hai,

    I am facing a problem of developing application in adobe air... I need to know the inter process communication and hidden background processes. Anyone have idea about this problem, please help me.

    Thank you

    Dembélé

    You can't have a background process on the PlayBook. All applications are executed by the user and are foreground processes. In regards to the communitication between the processes to run applications, have taken it.

  • How to fill the entire screen with the background color?

    It doesn't seem like it should be difficult, but of course, it seems to be. I put the background color on themy page, but it only fills half the screen in the Simulator. It's a small page.

    OK, so I went to some styles. I updated the style of the body height: 100%; min-size: 100%. That no longer works. Then I added a

    that enveloped the rest of the content on my page and set the style to the same height: 100%; min-size: 100%. Still nothing.

    What gives? Of course, the Simulator seems all ignore them.

    I use the VS plugin and simulate with the simulator of the storm.

    Thank you

    Bill

    in the onload of the body, you can also do this line of code:

    document.body.style.height = screen.height + 'px';
    
  • Hi I need to know how to expand the curves adjustment Panel. For example, the curves that I need to enlarge the graphic part, so I could show on a screen at the school. Thanks, Phil

    Hi I need to know how to expand the curves adjustment Panel. For example, I need to enlarge the graphic part so that I can view on a screen at the school and work from this Panel to expand. Thanks, Phil

    You can not. At least, not directly Ben Photoshop. For example, this can be done in Gimp and Photoline, and I had hoped that developers of Photoshop team would have done this allowance now. But no, we're still stuck with a tiny curved panel, which is a real shame, because in other applications, the user can be more precise with the curves.

    If you don't need to show close-ups during class time, use Zoomit in Windows, or turn on the Magnifier in the accessibility on a Mac option.

    https://TechNet.Microsoft.com/en-us/Sysinternals/Zoomit.aspx

  • How to use a blue screen edit the background?

    How to use a blue screen and change the background

    Whatever it is, at this time you cannot use bluescreen technology jointly with Photoshop Mix. Please let me know which product you are using and I can move this thread. Thank you!

    -Kathleen

Maybe you are looking for

  • Choose use Bay does Tecra M10

    Someone knows what kind of select bay (slim, ultra slim, very fat or what) use the 'new' Tecra M10 and can tell me where it is written that info on an official site of Toshiba... Tip: don't waste time uploading the plug technical Toshiba, it isn't th

  • Start the custom of MacBook in any mode or recovery (white screen)

    MacBook Pro late 2011 with El Capitan My macbook does not start in any mode. There is just the usual startup chime and after the apple logo bar progresses about 1/8, a white screen appears and stays like that. I tried leaving on the white screen unti

  • 5 same updates install then reappear to be reinstalled.

    I continue to install the same 5 updates.  They say they have installed fine but after going out on the internet or restart my computer, they are back once again, waiting to be installed.  They are: KB979909, KB982524, KB982168, KB983583 and KB241824

  • Accidentally set by default on the sound settings

    Hi, I am looking to change my ringtone to wake up today. And generally the system ask me if I want to select his selector or commander default file.Unfortunately, I chose his switch to default and now I can't change my alarm I want. Is there some way

  • Add widget questions small app...

    I try to add the widget to the list of small applications, when I type the sign + and choose Add my own widget, it is trying to load the list widget but before his term, unfortunately, an error message says "The small App Widget has stopped." What sh