A screen of closing and opening another through a wire

I'm showing a screen with my logo at the beginning of the application and to close and the new screen opena after 10000 milliseconds, but I don't know how make the wire placed an order for closure for the logo screen to close the logo screen and open the menu screen.

appreciate your help.

Alaa

the logo screen

--------------------------

public final class extends Logo screen
{
public Logo()
{
final TireMap Bitmap = Bitmap.getBitmapResource ("Thanks");
final BitmapField TireMapImageField = new BitmapField (TireMap);
VerticalFieldManager VFM_TireMap = new VerticalFieldManager();
       
int remaining is Display.getWidth () - TireMap.getWidth ();.
VFM_TireMap.setMargin(10,remaining/2,10,remaining/2);
VFM_TireMap.Add (TireMapImageField);
Add (VFM_TireMap);
Add (new NullField());
SleepingTimer TW = new SleepingTimer();
New Thread (TW) m:System.NET.HttpListener.start ();

Thread class

---------------------

public void run()
{
Try
{
Thread.Sleep (10000);
}
catch (InterruptedException e)
{
e.printStackTrace ();
}
}

It works:

final Screen logoScreen=new LogoScreen();
final Screen mainAppScreen=new MainAppScreen();

 new Thread(new Runnable() {
            public void run() {
                UiApplication.getUiApplication().invokeAndWait(new Runnable() {
                    public void run() {
                        UiApplication.getUiApplication().pushScreen(logoScreen);
                    }
                });

                try {
                    Thread.sleep(10000);
                } catch (InterruptedException e) {}

                UiApplication.getUiApplication().invokeAndWait(new Runnable() {
                    public void run() {
                        UiApplication.getUiApplication().popScreen(logoScreen);
                        UiApplication.getUiApplication().pushScreen(mainAppScreen);
                    }
                });

            }
        }).start();

Tags: BlackBerry Developers

Similar Questions

  • When I type in a search on the web for anything whether it's IE, eBay or Facebook my PC just redirects research and opens another page, how can I rectify this

    Original title: redirection

    When I type in a search on the web for anything whether it's IE, eBay or Facebook my PC just redirects research and opens another page, how can I rectify this

    Hi Mark,
    Your computer is probably infected by a virus. Try following the steps in this virus/malware removal guide: http://www.selectrealsecurity.com/malware-removal-guide
    It contains instructions which will remove most malware infections. If you have any questions, just ask me. I hope this helps you.
    Brian
  • When I open a program that takes a few seconds to load and open another program while I'm waiting, it will automatically put the first window on top

    When I open a program that takes a few seconds to load and open another program while I'm waiting, it will automatically put the first window on top when it has finished loading.  How do I not do?

    Hello

    Unfortunately, it is not possible to change that outside of the modification of the order in which the programs open.

    If you have feedback or suggestions, you can express their opinion on this at:

    http://connect.Microsoft.com

    It will be useful.

  • the background behind my pages turned black, how to return to grey? I spent between purge normal, preview, Slug and presentation and closed and open in design and it is always black. I can't imagine layouts with the black arr.plans

    the background behind my pages turned black, how to return to grey? I spent between purge normal, preview, Slug and presentation and closed and open in design and it is always black. I can't imagine layouts with black background please help!

    or maybe that the interface has been defined on Dark?

    Go to Preferences > Interface tab, choose light color theme dropdown on Apearance section (the upper part of the window)

  • Menu start keeps opening and closing and opening several times. Can you help me?

    My Start menu keeps opening and closing and prevents me from doing anything.  Do you know what I can do to fix this?  I don't am not technical at all so would like answers that are easy to implement, if possible.

    Thank you.

    This could be a problem of keyboard with the Windows key.  If it is a desktop computer, try another keyboard. When a laptop that will be more difficult to test. Looking for debris or rigidity.

  • Exit the application and open another

    Hello guys

    In my application, I read the SIM card. If the app does not have permission to read the SIM card, it displays a dialog that informs the user that should be given permissions. The dialogue has 2 options: 'Go to Settings' and 'exit '.

    This is my code

    void TestApp::processSIMPermissionAlert(bb::system::SystemUiResult::Type value) {
    
        if (value == SystemUiResult::ConfirmButtonSelection) {
            //go to security settings
            char* dummy = 0;
            int success = navigator_invoke("settings://security", &dummy);
            if (success == BPS_FAILURE) qDebug() << "INVOKE FAIL: " << dummy;
        }
        Application::exit(0);
    }
    

    The problem is that when the user clicks on 'Go to Settings', the application exits and at the same time the settings app opens, but it is all black and messy. You must reduce it to make it work again.

    Is there another way to open another application being closed?

    Thank you

    Pepe

    Don't know what that means "all black and messy", but if you say that the settings application does not display itself properly, then this is probably a bug and you must file a ticket within Jira to report.

    Then ignore, since there is no reason (yet) to spend a lot of time trying to circumvent critical bugs that would have fixed by launch (if reported).

    There is also a chance that the call of navigator_invoke() will be replaceable with something more specific in the context of the call, but we are still waiting on them to document the way in which we can use to interact with system applications. For example, it would be a good idea if we could have our apps to open the right settings for permissions for our own applications, rather than requiring the user to find them in the list.

  • Pavilion dv7 programs closing and opening at random, computer stops randomly

    I have a Pavilion dv7-6154ea running on Windows 7. I've had it for a year and a half now and I just encountered this problem (it started a few days ago).

    The problem is that some programs or files are opening and closing by themselves, randomly without doing me anything. Sometimes even whole computer stops himself. And it's not as if it crashes, it just closes programs in the usual way or stops normally (without any problem).

    I scanned the entire computer for viruses and it is clean. If the problem seems not be caused by a virus.

    One thing that I was doing at the same time when this problem occurred is switchable graphics mode in the BIOS change, dynamics on fixed, by following the steps in this link to The switchable Graphics Mode

    I have a built-in Intel GPU (that to speed up performance) and an AMD Radeon HD 6490 M GPU (that of better graphics) and I wanted to run the PC on the AMD because I think that the dynamic mode has not changed the GPU when I needded, for example for video games.

    However, after a day of opening/closing by themselves programs, I decided to return to dynamic mode, and nothing has changed, so maybe it's also not the cause of the problem.

    In any case, it seems too convenient that the problem happened right after I introduced the Switchable graphics in the BIOS mode, if I don't think it's a coincidence.

    Can someone help me? It becomes very awkward to have a program that I use at the moment of the computer closa.

    Thank you

    sthri,

    It doesn't sound like it's a virus, but it could also be the keyboard.

    Go to start

    Type ease.

    Press enter

    Go to the bottom and click, facilitate the use of the keyboard.

    Check all the boxes and click OK.

    The keyboard will not work, but move and open programs as you normally use the computer and see if you get any errors.

    It is a shot in the water.

    By clicking on the White Star congratulations on the left is a way of saying thanks!

    I would like to know how everything goes.

    Nice day.

  • How can I get Muse recognizes and opens another site of Muse created elsewhere? I need to update and add features.

    Generated by Muse site created elsewhere, which I am now to manage and update. My Muse program will not recognize the site as Muse and therefore not open not import it, since there is no import feature. How can I get Muse to recognize one of their own?

    Are you talking about HTML? Muse can't open html prepared in advance (Yes, even if muse wrote the code)

    the only option is to get a copy of the muse and open to edit the site.

    (I hope I'm wrong on this, but I am my experience can't do)

  • How to count the SRs closed and open SRs on same date.

    Hi all

    We use BIApps 7.9.6.3 we use OOB mapping and RPD.source system is Siebel CRM services.

    My requerment is display the number of srs where SRS created and closed Srs is the same day.

    Pls let me know any one faceing same requriment. I'm willing to change ETL as well BI level also.

    THX,

    Check this box

    Select T31328. DAY_DT' as c1,

    T32495. "' OPEN_DT ' C2,.

    T32495. "' CLOSE_DT ' as c3.

    T32495. "' SR_NUM ' as c4.

    Count (distinct T32542. (' "SR_WID") as c5.

    Count (distinct case when {fn TimestampDiff (SQL_TSI_DAY, T32495) "OPEN_DT", T32495. (» CLOSE_DT")} = 0 and T32495. "' STATUS ' = 'Closed' and T32495. "" SUB_STATUS "="Resolved"then T32542. ("" End SR_WID ") as c6,.

    T32495. "" INTEGRATION_ID "as c7

    Of

    "W_DAY_D" T31328 / * Dim_W_DAY_D_Common * /,.

    "W_SRVREQ_D" T32495 / * Dim_W_SRVREQ_D * /,.

    "W_SRVREQ_F" T32542 / * Fact_W_SRVREQ_F_Open_Date * /.

    where (T31328. "" ROW_WID "= T32542. "" OPEN_DT_WID "and T31328. "" DAY_DT "= convert (datetime, ' 2012-01-14 00:00:00 ', 120) and T32495. "" ROW_WID "= T32542. ("' SR_WID")

    Group of T31328. "DAY_DT", T32495. "INTEGRATION_ID", T32495. "SR_NUM", T32495. "CLOSE_DT", T32495. "" OPEN_DT ".

  • Black screen when closing and activating/deactivating my admin user account - Vista Business 32 bit

    Hello

    I just formatted and reinstalled Vista Business, I noticed a slow anomaly at the start of my laptop, when my user account on my admin account (I have a black screen for 5 sec). On the contrary, my Admin on my user account, this can take up to 15 sec. During this time of waiting, I have only a black screen (no dekstop).

    1 KSOD (not sure it is) during startup, slow to start (in my case, windows logon and the user interface with 'Welcome' appeared)
    2 KSOD by logging into my account (before appearing the dekstop)
    3 KSOD when my account is closed
    4 KSOD when I change to another account, that is to say, of the user account to the account admin (KSOD for more than 15 sec)

    Programs at startup: no Autoruns, Rollback Rx, Intel Graphics Media Accelerator (my graphics driver), Hitman Pro

    Thanks for your help!

    Hello Ramaflore,

    If I understand correctly, you saw this black screen problem before a format.  After format and reinstall Windows, you still see the behavior of the black screen.

    This means two things:

    1. There is a program that was previously installed and has been reinstalled and that is the cause.
    2. The hardware is at fault.

    We will perform a clean boot to remove all third-party software startup that can interfere with the normal operation of the machine:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Secondly, I would recommend running the diagnostics of equipment provided by your manufacturer.

    Let us know.

    Best regards

    Matthew_Ha

  • I CLICK ON A SINGLE LAYER AND OPEN ANOTHER

    Hello.  I have a problem with the selection of the layer that I want to work Photoshop CC.  Let's say I have a white background.  I'm on the text tool.  I click on "create a new layer.  In the layers panel, it now says: [T] layer 1.  On the page I now type "1111".  In the layers palette (for no good reason) I foolishly clicked on layer 1 [t] and it turns into: [T] 1111.  I didn't ask to change his title to that, but he just did.  So I think that, well, I'm not finished with this page, so I just want to come on this subject.  If I click in the layers palette, on what is now called: [T] 1111 (to let the Panel layer know I want to work again on this same page), and what is its role?  It doesn't let me work on this page.  It's a whole new layer called, once more: [T] layer 1.

    After tooling autour with this throughout the day, eager to tap the layer I chose, I made a discovery.  If I click first on the layer in the palette layers, in this case: [T] 1111, then click exactly on top of the writing on the page itself, I can come back on this layer.  But if I click on any white space around it, it will create a new layer in the layers palette.

    After Googling autour, I thought Oh.  Maybe it's because my automatic selection is on?  I've actually used before.  If I click on it offshore.  No difference.  I closed Photoshop on and outside.  No difference.

    I was wondering if anyone else has this challenge?  And if you would be able to help me I would be really grateful!

    IIRC text is always placed on its own layer and the layer name is reflected by what text you enter. If you still have the text tool active and you click in another part of the image he will create another text layer and allow you to enter the text to the place you clicked.

    According to your description, I think that the program is working as it was designed and that's why you don't find an answer to the so-called problerm you encounter. It is not a problem or a bug. This is the way that PS CC 2014 is designed to work.

  • Win 7 bypass login screen and opens the local administrator account

    Having a laptop computer on the school network.  During the initialization of the logon screen is bypassed, and opens the local administrator account, which is not well with the children concerned.  Even in Safe Mode.  Laptop configured from an image by using Hyper-V, all others ok

    Hello

    Thanks for the reply.

    If you have any other questions relating to computers on the domain network, you can post questions in the Forums TechNet Networking Windows 7: http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/threads

    Thank you.

  • My screen is incomplete and does not show all my emails or menu option

    I closed and open TB several times, but every time I open it, not all views coming, including tabs, menu options, folders and send messages. I'm afraid that if I restart my calculation or redownload TB, I lose everything, which is not an option. Is it possible to restart my current TB and recover the full poster? Thank you.

    To display the toolbars hidden in most applications, Thunderbird included, press the ALT key. Then from the Menu bar that appears, select display-toolbars and relight toolbars missing.

    If you are missing the pane of folders down the left margin of the window you select View-presentation-folder pane.

    Thunderbird, for the most part, remembers what looked like on your screen when you closed and reopen its doors like this next time. Once this happens you can close and reopen, restart and uninstall and reinstall all you want and it won't change.

  • When a link to open another application and firefox is closed, Firefox opens but the link does not work

    I use Firefox on Mac OS 10.9.2, 29, this problem has occurred on the OS 10.8 ~ and various other versions of FF. I use 29 simply because I like it!

    The problem: Firefox is configured as the default browser in all directions it is possible to set as the default value. However, when I click on a URL from any application and Firefox is closed, Firefox opens opens, my last session of navigation tabs start, but the link does not open. I must return to the application and click the link again. This only happens on Firefox. I can put any other default browser and it will open the link in a closed state.

    This is happening to me, same, on Mac OS X 10.6.8 but only since I've upgraded to the latest version of Firefox, 32.0.1. I can click on a HTTP link in another application and Firefox becomes the active application, but it will not load a new tab for the link, as expected. Instead, it just sits there. I have to go back to the other application and click on the link a second time, during which point Firefox correctly open a new tab and load the destination URL.

  • Why he closed my tab and opens in another window. It bothers me a lot.

    Why it closes my tab and opens it in other window. It to me very much disturbs.  I touch nothing. It occurs on 20 times a day.
    

    This has happened

    Each time Firefox opened

    Is in May.

    A very slight downward movement when clicking on a tab will cause the tab 'tear-off' and open in another window. You can drag the tab to the original window tab bar.

    To stop this behavior, you can install this add-on:
    https://addons.Mozilla.org/en-us/Firefox/addon/12276

    Other issues: to correct the problems of security/stability

    Install/update Adobe Flash Player for Firefox: your version 10.0 r32; current version 10.0 r45
    See: Flash update
    -use Firefox to download and SAVE to your hard drive (save to the desktop for easy access)
    -the release of Firefox (file > exit)
    -Double-click the Adobe Flash Installer, you have just downloaded to install Adobe Flash
    -Make sure that Firefox is completely closed (Ctrl + Alt + Delete, choose Task Manager, click the processes tab, if "firefox.exe" is on the list, made a "firefox.exe" right-click and choose end process, close the Task Manager window)
    -When Flash is installed, start Firefox and test the installation of Flash here: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507 & sliceId = 1

    • NOTE: under Vista and Windows 7 you may need to run the installer of plugin as an administrator by starting the installation program via the context menu if you do not get a UAC ask permission to continue (that is, nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    • NOTE for IE: Firefox and most other browsers use a Plugin. IE uses ActiveX of Flash version. To install/update IE ActiveX Adobe Flash Player, same instructions as above, except use IE to download the ActiveX Flash Setup.

Maybe you are looking for

  • Satellite A100-599 - HDD upgrade question

    My laptop would build [WD Scorpio Bule 500 GB | http://www.wdc.com/en/products/Products.asp?DriveID=506]?

  • Mystery of the interference sawtooth with all networks

    Airport Extreme is powered over ethernet AT & T 2Wire modem/router. I have 2 nest webcams set up and find that they would sometimes display warnings of "weak wifi signal. So I got the Explorer Wi Fi app to try to see what was going on and optimize my

  • Safari 9.0 - cannot change bookmarks - any change to come back after a 3 sec.

    Very frustrating gremlin... When I try to edit theSafari (9.0.3) "Favorites" by selecting and drag - or create a new bookmark, change appears, but then quickly returns to the previous configuration after 3-5 seconds.  I restarted the iMac, tried ever

  • External drive

    I have Satellite A60 772 and you bought an external hard drive from Seagate. I want to install Win XP on it and copy the files to my Toshiba, then format and install Linux. But is it possible to boot from the external drive (I wish I could choose bet

  • Base system device drivers

    Hello, I am using HP ProBook 4730 s, produces A1E71EA. I recently installed windows 7 ultimate x 64 and I went to install my drivers. Here, I have two of them that say "base system device" when trying to update automatically using the upade driver it