Press one screen at a time

What is a recommended method to accomplish the following?

I have three screens.

-Initial_Screen

-Screen1

-Screen2

In the Initial screen, sometimes I push Screen1 and sometimes I push Screen2 and it works all fine, but in a particular method, I want to push Screen1 and when Screen1 is jumped (or closed), I want to be pushed Screen2.

If I push one after another in my method, one does not appear until the other is closed.

Screen2 will appear differently depending on the input provided by the user on Screen1, so I can't really push Screen2 until Screen1 is closed.

Thank you...

Of course - you should not push the second screen to the right when you press the first. The logic of the application you are trying to create and push Screen2 once the information you need is available.

For example, if there is a button 'OK' in Screen1, you pop Screen1 (if you wish) and push Screen2 in response to the button that is clicked.

However, if you want to always push Screen2 Screen1 is broken (which is usually wrong - what happens if the user wants to cancel the input in Screen1 or simply exit the application?), you can do in Screen1 onUiEngineAttached when the parameter is set to false. At this point, you still have access to the fields of Screen1 all and user input in their.

Tags: BlackBerry Developers

Similar Questions

  • Good day, notification of save my icloud does not close. I pressed the bottun close several times, but he's still on my screen. How this can be fixed.

    Good day, notification of save my icloud does not close. I pressed the bottun close several times, but he's still on my screen. How this can be fixed.

    Restart the device - without loss of data

    1. Restart your iPhone, iPad or iPod touch - Apple Support
  • Help - HP Pavilion a6030.uk desktop computer. Have to press the power button several times to start?

    Hello

    I have a HP desktop computer. The model is HP Pavilion a6030.uk, Opertating system: windows vista.

    My computer has had no problems at all until yesterday for some reason, I had to push the switch several times to start until he finally turned and did normal starts. As I would press the power as normal to start button, but all of a sudden, it turns off after about 2 seconds and so I would tap on the switch several times and each time it will not start and turn off, then the power button could be pressed again until it would finally turn on and start and run as normal and seems to work correctly. And it was the same thing today, I pressed the power button mutiple times (for example 6 times) until she finally started as usual.

    Savvy/computer im not very well informed or wise in this area, please someone will help me and give me some advice/help to fix/resolve this problem.

    Thank you for taking the time to read this and any help would be appreciated for this problem.

    Thank you.

    Vonbon90, welcome to the forum.

    When I see these symptoms on an old computer, I think it may be a power supply (PSU) failure/ing.  Here's a guide that will help your troubleshooting it.

    In addition, you could test the memory.  This can be done by removing all modules of memory and replacing them one at the time and start.

    Please click on the Thumbs up button '+' if I helped you and click on "Accept as Solution" If your problem is resolved.

  • Screen Gmail keeps time and goes back to the sign in screen

    Original title *.

    Gmail and Windows 7

    My screen Gmail keeps time and goes back to the sign on screen. Very annoying. Help, please. Len

    Hi Leonard,.

    Please contact Microsoft Community.

    The problem may occur due to browser settings correct.

    To better help you, could you please confirm a number of things like:

    1. Are what happens with Gmail or with any what web based e-mail accounts?
    2. What browser he uses to access Gmail account? If this problem is specific to the Gmail account?

    Step 1: If you use Internet Explorer, I suggest you to check the number in mode - Add-ons. Start Internet Explorer in no Add-ons mode.

    While Add-ons can enhance your online experience, they can sometimes interfere or conflict with other software on your computer. Try to start Internet Explorer without Add-ons to see if the problem goes away.

    a. press the Windows key + R and then type iexplore - extoff without the quotes and press ENTER.

    If you are able to access Internet Explorer without any problem, then add-ons can cause the error.

    You try the steps to activate the modules individually determine which add-ons may be causing the problem.

    Step 2:

    (a) open Internet explorer on the desktop.

    (b) click on the Tools button, click on Manage Add-ons, and then click Enable or disable add-ons

    (c) in the list view, click Add-ons that have been used by Internet Explorer to display all add-ons.

    (d) click on the Add-ons that you want to activate, and then select activate.

    (e) repeat step 4 for each module that you want to activate.

    For reference, see the link for how to manage add-ons:

    Manage Add-ons in Internet Explorer

    http://Windows.Microsoft.com/en-us/Internet-Explorer/Manage-Add-ons#IE=IE-9

    Hope this information was helpful and let us know if you need more assistance. We will be happy to help.

  • How to send values textbox from one screen to another screen

    Hello guys

    can anyone tell me that how can I get the value of the editField from one screen to another screen.

    Please provide the code.

    Thanks in advance

    Click on a single screen Button.of. Pass the value of the textField like this.

    class first extends MainScreen implements FieldChangedListener
    {
        public first()
        {
            ....................
            Declareation of textField and other controls.
        }
        public void fieldChanged(Field f, int context)
        {
            //on the clicking on the Button here the code
            if (f== button)
            {
                String str=textfield.getText();
                UiApplication.getUiApplication().pushScreen(new second(str))
            }
        }
    }
    
    // another screen
    
    class second extends MainScreen
    {
        public second(String str)
        {
            //Now str contain that values.
        }
    }
    

    ------------------------------------------------------------------------------------
    Kudo press to say thank you to the developer.
    Also, press accept it as a button when you got the Solution.

  • iPhone 5 screen freezes from time to time after updating to ios 10.

    iPhone 5 screen freezes from time to time after updating to ios 10. Then, should I block the screen again and unlock it to make the iphone work again.

    Hey Nilay182,

    Thank you for using communities Support from Apple. I can see from your post that you are having problems with your iPhone freeze or does not. Having a reliable phone is important and I would help him get yours working normally again. I have provided a link that explains how to troubleshoot a few things with your phone when it does not.

    If the screen of your iPhone, iPad or iPod touch does not respond to touch


    If you still have problems with your screen after you follow these steps, let know us and we can continue to troubleshoot from there.

    Kind regards.

  • How to move from one screen to the other applications?

    In order to organize some screens after installing several applications, how can we move them from one screen to the other?
    I found it possible to place them in the bottom bar and then replace them in the necessary form, but it is very slow...
    Another way?

    Also, is it possible to place the apps where we want to and not automatically bring reorganized (empty filled)?
    Thank you

    DUPE: https://support.mozilla.org/en-US/forums/firefox-os-english-forum/709563

  • How to select and move more than one bookmark at a time? Shift + click selects multiple items that are next to each other in a list, because the element

    How to select and move more than one bookmark at a time?
    Shift + click selects multiple items that are next to each other in a list, because the items open in firefox before that happens.

    Glad it worked for you. Thanks for posting back.

  • I want to have the screen all the time when I load

    When I use the iPhone 6 (latest OS) I want to have the screen all the time when I use it in the car with the card program.
    I know that it can be programmed to "Always on", but I want the screen to be closed after 2 minutes if you use the battery.

    What I need to change those settings whenever I use it in the car?

    janbso wrote:

    When I use the iPhone 6 (latest OS) I want to have the screen all the time when I use it in the car with the card program.
    I know that it can be programmed to "Always on", but I want the screen to be closed after 2 minutes if you use the battery.

    What I need to change those settings whenever I use it in the car?

    Yes.

  • 15 170tu ac: I HAV to press the power button several times to start the laptop...

    I HAV to press the power button several times to start the laptop... works well with the power supply on.

    all My drivers & bios is updated... but when I opened the lid... I HAV poer press several times the button and he then began 4-5 min.

    Hi @Vishalwagh123,

    Welcome to HP's Forums a great way to get help. It's a great place to find answers and advice! Thanks for the post.

    I understand you have questions turn on/off the device and you must press the power button several times for him to start. I'll be happy to help you.

    Please try these steps first. Perform a hard reset.

    • Steps to do:
    • Turn off the computer and unplug the charger. Then remove the battery.
    • Press and hold the power button on the unit for 15 seconds to carry out the static electrical charges inside the machine.
    • Replace the battery and the charger plug it back. Try to turn on the computer.

    If it fires up immediately the issue is resolved. Otherwise, try to turn on the computer without the battery and check that it works immediately.

    In your message, you said that it works very well with the charger. However, I need more clarity here to help you better.

    It works immediately when the adapter is connected and the power button is pushed only once?

    If you again press the power button several times, it may be a faulty power button, and you will need to contact the hotline at the service of the unit.

    Let me know what happens when you try to turn on the unit without the charger?

    Visit this link to contact support phone:

    http://HP.care/2bjG4nE

    Hope the problem is solved without hassle. Please keep me in the loop.

    Take care and have a week Holy.

  • 4 crossing lines on my screen all the time?

    2lines features horizontal and 2 vertical spaced regularly. as a graphic appeared on my screen all the time.how can get rid of them?

    OK, it's a hardware problem then and not has nothing to do with Windows. You need to contact Asus or the supplier of the graphics card or the store that you bought it.

  • very slow to come on the inadmissible screen all the time programs

    ORIGINAL TITLE: very sad

    very slow to come on the inadmissible screen all the time programs

    Really not too much info to hel give us to understand what could be the cause of your problem,

    I advise you to complete the steps in this microsoft article.

    http://www.Microsoft.com/athome/Setup/optimize.aspx

    If you give us more details, we can give you more specific answers.

    Good luck

  • Is it possible to sort messages in WLM by more than one field at a time?

    Sort messages in Windows Live Mail

    As the help "?" button in the desktop app Windows Live Mail is no help whatsoever *, after much research I landed at MS Answers. Hope someone here can answer what I believe is a simple enough question, although well beyond the capabilities of the foregoing under construction using WLM... Here goes-

    Is it possible to sort messages in WLM by more than one field at a time?

    If I sort my messages received by the field 'From' - by clicking on the field header (whenever you click the header, it changes to alphabetical, reverse alphabetical order) - by default each group of messages from the same sender are listed in order by date/time, earlier at the latest, from top to bottom (opposed to the default order when the messages are sorted by date and time upon arrival which puts the last (most recent) mail messages has received at the top). After you sort messages by sender, is it possible to then sort these messages grouped by date, with the newest messages at the top of the list?

    * Is there a procedure/channel "correct" to say Microsoft's help on the web for MS Office & other apps - like Windows Live Mail - how useless? In the interest of Microsoft, this gap & go back to the built-in Office 2000 help, etc., with an option to get help online, i.e. through the Forums, if the system cannot answer your question.

    Hello UKdeejay,

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • How to stop demand for files compressed in my Outlook Express? This request appears on my screen of many times while I'm working.

    How to stop demand for files compressed in my Outlook Express? This request appears on my screen of many times while I'm working, even when I go on the internet, it always appears & crashes me typing.  I have a lot of emails and I don't want to compress their files.

    original title: HOW can I STOP ASKING to COMPRESS the FILES in OUTLOOK EXPRESS

    How to stop demand for files compressed in my Outlook Express? This request appears on my screen of many times while I'm working, even when I go on the internet, it always appears & crashes me typing.  I have a lot of emails and I don't want to compress their files.

    Compress, (Compact in American English), removes waste of space, not your messages. Please read below, but if compact you and still get the prompt, after return. It is another question.

    Why OE insists on compacting folders when I close it? :
    http://www.insideoe.com/FAQs/why.htm#compact

    Compacting your folders periodically is a must to keep OE works fine and at some point, you may lose all your saved messages if you do not. When you delete or move messages, the space they used remains until you compact.

    Never touch anything until the compression is finished.* *.

    See:
    www.oehelp.com/OETips.aspx#2

    With SP2, Automatic compaction in the background has been removed because of problems he has caused. Now, you will get a prompt to compact after 100 closures of OE, you need to do, and do not touch anything until it's finished. If you compact manually, at your convenience, this will also set the counter to zero. See this for more information:
    http://www.insideoe.com/files/maintain.htm#compact

    If you are fully patched, you will now see a copy of your dbx files copied to the Recycle Bin as BAK files. If something goes wrong when compacting, the messages can be easily restored from this backup. A compact manual resets also the counter in the back of the registry to zero now.

    For more information, see the information framed in red here:
    www.oehelp.com/OETips.aspx#2

    To keep things running smooth and harden faster:

    Do not archive mail in default OE folders. It will eventually become corrupt and you may lose mail. Create your own folders defined by the user for mail storage and move your mail to them. Empty the deleted items folder regularly. Keep user created folders under 300 MB, and also empty as is possible to default folders.

    And backup often.

    Outlook Express Quick Backup (OEQB Freeware)
    http://www.oehelp.com/OEBackup/default.aspx

  • is my dead of the computer runs at the start of the very strong and constant fan and I get no screen, no log in or any image on the screen at any time

    is my dead of the computer runs at the start of the very strong and constant fan and I get no screen, no log in or any image on the screen at any time

    No doubt.  If in doubt, download qualified help to solve the problem. It can be easily fixed, or not.  We cannot tell from here.

Maybe you are looking for