Refresh the screen when he became first on the stack

Hello

I have a Refresh function on my home screen, from the home screen, a user can change the options in the options screen. However to change the options will change the content on the home screen. How can I update the home screen when a user comes to change options? I thought it would update when it is first on the stack again because it would mean that the option screen has been removed from the battery... Any guidance would be appreciated!

Thank you

Ben

As onExposed() is called in other circumstances, when a refresh is not necessary, I wouldn't recommend you do without some sort of filter to determine whether or not you should.  Review the Thread I pointed you to, in there, I suggest a suitable filter, you could use.  .

Tags: BlackBerry Developers

Similar Questions

  • When I create a new folder in Windows Explorer, I hit F5 to refresh the screen, the file disappears.

    When I create a new folder in Windows Explorer, I hit F5 to refresh the screen, the file disappears. If I try to create the same again, I get a message that I already have a folder with that name. It is nowhere on my computer.  I've searched for it & he's not here.

    R.Click on the desktop, properties, desktop, customize, web, search & check

    "lock desktop items" closes when thru.

  • I bought a year of adobe cc today. When the screen came to tell me that he has been to process my payment, do not press the 'back' button or refresh the page such that it could take a few minutes. 7 hours ago. The cat to help told me it would take 24 hour

    I bought a year of adobe cc today. The screen came to tell me that he has been to process my payment, do not press the 'back' button or refresh the page, because this could take a few minutes. 7 hours ago. I contacted the Department of chat help and told me it would take 24 hours to process. Is this normal? Why the screen me "a few minutes" looks like if she's actually 24 hours? Does anyone else have this problem? I'm so tempted to just refresh the page and try my luck with my credit card, canceling a second payment if it happens. THIS could be faster.

    Hi stephanie palmer,.

    We would like to inform you that your order has been placed successfully and you can the course using the subscription.

    Please follow the link mentioned to install products below.

    Using creative cloud | Download, install, update or uninstall applications

    Kindly share the results once made.

    Thank you

    Atul Saini

  • Refresh the screen after the change of Focus

    I'm trying to color the background of the complete handler, when one of its fealds leaf receives focus. I am against the version 4.3 programming.

    For this, I replaced the paint for this method (the m_ prefix designates a member of the object variable):

     public void paint(Graphics graphics) {
            Field focussed = getLeafFieldWithFocus();
            if ((focussed != null && m_RootHighlighter) || m_Highlight) {
                graphics.setBackgroundColor(Color.CYAN);
    
                if (m_RootHighlighter) {
                    for (int i = 0; i < getFieldCount(); i++) {
                        Field curField = getField(i);
                        if (curField instanceof SubHighlighter) {
                            ((SubHighlighter)curField).triggerHighlight();
                        }
                    }
                } else if (m_Highlight) {
                    m_Highlight = false;
                }
    
            } else {
                graphics.setBackgroundColor(m_BackgroundColor);
            }
    
            graphics.setColor(m_ForegroundColor);
            graphics.clear();
            super.paint(graphics);
        }
    

    A Manager on stack Manager (the one the bottom should change color) says he's the marker of root and call the method "triggerHighlight" on all the managers of his children, which is implemented as follows:

     public void triggerHighlight() {
            m_Highlight = true;
    
            for (int i = 0; i < getFieldCount(); i++) {
                Field curField = getField(i);
    
                if (curField instanceof SubHighlighter) {
                    ((SubHighlighter)curField).triggerHighlight();
                }
            }
        }
    

    Each highlighter root has a child a (away from him by a few more layers Manager) exact sheet that can receive the focus.

    Now I have a strange behavior: when I press a screen filled with managers of root highlighter on the stack of the screen, the first Director, whose the focusable child sheet gets automatically put emphasis, change its background. When I scroll down, the next Manager does not change its background, although I see in debug mode focus wanders to his field focusable. When I reached a manager not completely on the screen, which triggers a scroll of the overlying Manager, the color change takes place again.

    I thought this might be a screen refreshing problem, so I added the following to my custom manager class:

       protected void onFocus(int arg0) {
            super.onFocus(arg0);
    
            getScreen().doPaint();
        }
    

    Now, a kind of artifact of changing background color appears (a small spot of color, which does not disappear when the focus leaves the Manager) until I reach a part of the screen where the screen scrolls, how everything behaves as it should.

    Can someone tell me whan makes a still image without scrolling attention change different a change of focus scrolling and what I can do to fix this? Thank you.

    You must call the method Screen.invalidate instead of Screen.doPaint.

  • Black screen when launching the virtual desktop

    I have a user who gets a black screen when you connect to their virtual desktop (linked clone).  I tried to delete the profile and the regeneration it with no luck.  It seems that I'm in the office and I can send Ctrl + Alt + Delete to start the Task Manager, but it's just a black screen.  I tried to change the RDP protocols, but the results are the same.  Any suggestions?

    Thanks for your answer "vcpguy".  The solution was to delete the profile and recompose the link clones (specialized basin).  I'm just assuming recomposing would have solved the problem since that removes the profile completely unlike a refresh settings of I tried first.

  • Get blackheads on the screen when it is on some websites, slow stutter sometimes when viewing pictures etc.

    Hello I'm going to have some weird problems with my Mozilla firefox to the end, getting black dots on the screen when on websites, as a DS "http://www.komplett.se/k/ki.aspx?sku=635503" when I click on the image of the screen and stay there by clicking on back I have blackheads after like 10 click on max.

    http://I39.Tinypic.com/2dnion.jpg

    Often and is very enoying overall, I use firefox for years and love it, but at the moment I have to use Chrome to get stuff to work. It is above all this shit with blackheads. Another thing that was my Battlelog didn't show my hollow friends online but firefox which solved I think with reinstall it (done a reinstall and formatted the computer but the problem with the points is still there).

    I installed Java again and tried most things like disable the hardware accelerator but I always get the question, I thought it was my new graphics card but I had no such problems the first day (R9 280 X ASUS). I think it was the next day or 2 days after I upgraded to 8.1 pro (since then reinstalled as said to get pure), and I had these points.

    I almost sent my card back to the seller, but such that she feels right now its something with Mozilla Firefox because it happens that he (not in IE or Chrome) and never in the game in any game so far. Help!

    Try disabling hardware acceleration in Firefox.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/Firefox/tools > Modules > appearance).

    • Do NOT click on the reset button on the startup window Mode without failure.

    If what happens after installing a new graphic display card while there might be a problem with this graphics card or with the drivers.

    Start the computer in Mode safe mode with network support Windows (on the startup screen, press F8) as a test to see if that helps.

  • PAVILION 15: BLACK SCREEN WHEN OPENING THE LID ON WAKE UP

    THE LAP TOP SHOWS A BLACK SCREEN WHEN OPENING THE LID.

    THE SCREEN WORKS WELL WHEN PUT ON, BUT ON CLOSING THE LID FOR A WHILE AND RE OPENING STARTING THE ENGINE AND THE LIGHTS FLASH BUT THE SCREEN IS BLACK.

    TO RETRIEVE THE SCREEN POWER BUTTON MUST BE PUSHED AND WHEN FLASHING JUST AGAIN PUSHED THE SCREEN THEN WAKES UP.

    THIS FIRST STARTED WINDOWS 10 CHARGE BUT WHE I GO BACK TO THE FACTORY SETTINGS AND WHICH IS 8.1

    I TRIED TO REMOVE THE BATTERY TO RESET AND REMOVE AND REPLACE MEMORY CARDS AS SUGGESTED BY SOME SITES I RELOADED ALSO BIOS AND I STILL HAVE THE PROBLEM.

    I WOULD BE VERY GREATFUL FOR ANY HELP.

    Hi @lily-springer,.

    Thank you for your update.

    I am pleased that now when you close the lid, it does nothing.

    You don't have the possibility to contact the HP support for assistance. They can access your system remotely to help overcome the difficulties.

    Contact HP to Contact HP Support assistance

    Good luck!

  • Dead zones of the screen when I write

    I get the dead zones of the screen when I write. They are not always in the same area of the screen, but go across the width.
    Everyone knows this and they found how to solve the problem?

    Hello

    It's not easy to say what can be the problem.
    Well, first of all, I would recommend to recover the OS with the recovery CD. If after this procedure, the problem persists then you should try to update the display driver. If this doesn't help, so I guess that it s something wrong with the hardware. In this case, you should ask for help ASP.

    Good bye

  • Volume control does not appear on the screen when I try to activate it. This has never been a problem until now. How can I get this working again?

    The volume control is located at the bottom right of my sidebar it me has not given any problems so far. Now, he just will not appear on the screen when I try to call. This has never been a problem before. I really did something to screw things up (again!) today. This is the first time I had this problem.

    Next time please indicate what opersting system you first use before describe you your problem.

    You can start by doing a system restore. Choose a date on which your Volume icon in the taskbar.
    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    If for some reason it does not restore the Volume icon, then...

    For Vista, use this tutorial:

    http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.html

    You can try a method first. If the Volume box is grayed out (is usually), go to method 3.

    2. for the Volume icon

    To activate the Volume - icon Enable_Volume.reg< click="" to="">
    Then, follow the instructions from #5 to #9.
    Make sure that you restart the computer to complete the process.

    For Windows 7, use this tutorial:
    http://www.SevenForums.com/tutorials/19085-system-icons-enable-disable.html

    Go directly to the Option two

    9. to activate the Volume icon

    (A) click on the download button below to download the file below.

    Enable_Volume_Notification_Icon.reg

    then follow the instructions from #11 to #15.

    Make sure that you restart the computer to complete the process.

  • Calendar of blue screen when you enter your password to access the computer

    When you start first, a screen will appear where you enter your password to unlock the computer.  If the computer is idle for a few minutes, the same screen appears and you must enter your password to unlock the computer.  Is there a way to change the time interval before the unlock screen after idle session?

    Hello

    On the Start Menu, open Control Panel and open the customization.  Click on the link of the screensaver at the bottom right of the window and in the next window, set the time in the box waiting tittled.  When you have set the desired time, click on apply to save the changes.

    Best wishes

    DP - K

  • Request password to the login screen when you try to access Outlook Express. He has never done this before.

    Request password to the login screen when you try to access Outlook Express. It appeared suddenly.
    (I recently bought phone and set up by my family could have invited)
    In any case-"main identity is the identity alone on the login screen. I need password to manage identities. Can I by pass? This means a first time trip into the bowels of the registry? or I can avoid this.

    original title: express outlook for connection screen password
    Then we will try this password to logon OE.
     
    Outlook Express keeps to request your password
    http://www.dougknox.com/XP/Tips/xp_oe_passwords.htm
     
    Save the password setting will no longer exist in Outlook or Outlook Express
    http://support.Microsoft.com/kb/290684 
  • How can I get a full screen when connecting to the internet, my screen display 1/4 when it is connected to the internet. I then optimize it

    How do I get a full screen when I connect to the internet, my screen appears1/4 screen when I connected mthen should maximize it?

    Three options.

    1: take the corners of the window and drag it to the format full screen. Do not use to expand. Close all other windows first via the taskbar and the latter. Windows will remember the size of the last closed window the next time that you open the program.

    2: any shortcut you use to launch the window, right-click, and select Properties. Under the 'Run' drop-down list, choose "expanded".

    3: IE New Window Maximizer
    http://www.MajorGeeks.com/IE_New_Window_Maximizer_d1746.html

  • I get startup repair screen when I try to boot my laptop from dell inspirion windows 7, I run the scan and detects any errors. When I ran repair usb key received the error 0x400110020000100A

    I get startup repair screen when I try to boot my laptop Dell Inspiron windows 7, I run the scan and detects any errors. So, I tried to use a USB repair for a laptop Dell Latitude Windows 7 pro and I still can't the computer to start. Tried to restore to the factory settings, can not. I have no image, backups, all missing, restore points?

    After that I tried to launch the USB repair I got 0x400110020000100A error code and I received error (0x8007027E) indicating the device will not start without a reboot.

    Anyone know how to fix this?

    Any advice would be greatly appreciated. I'm not computer illiterate, but am not pro either. Just use them not program them or even understand all languages!

    ____________________________________________________________________________________________________________

    Dell Inspiron laptop about 4-5 years.

    Running windows 7 Home Edition.

    Does not start little matter what I tried.

    If I remember correctly, I looked in MS-DOS mode and noticed that it said something like "x: win...» "that seemed strange to me because I thought that it should say"c: victory... "but as I said I am not a computer wiz so if anyone can help me, I would appreciate it.

    I'm about to rip the hair off my head with my laptop. My latitude was blue planned, surprisingly I fixed it (don't ask how, you couldn't tell). Then my dell inspiron would not start right after my dell latitude fell out of my truck and landed on the sidewalk, wanted to kill the person, the screen is broken. I can use it but it is very difficult, see a mosquito net and not perfectly clear, works well. lol someone knows somewhere or that would install a new screen for a reasonable price? I live in the Boston area.

    Back to the laptop won't start not, when I ran repair USB key received the error 0x400110020000100A

    Hello

    Thank you for the update on the issue. I appreciate your time and effort in resolving this issue.

    You can try the following methods and check if it helps.

    Method 1:

    You can use the Bootrec.exe tool in the Windows recovery environment (Windows RE) to troubleshoot and repair the following items in Windows Vista or Windows 7:

    • A master boot record (MBR)
    • A boot sector
    • A Boot Configuration data (BCD) store

    Note: When you are troubleshooting startup issues by using the Windows RE, you should first try the Startup Repair option in the System Recovery Options dialog box. If the Startup Repair option does not resolve the problem, or if you must troubleshoot more steps manually, use the Bootrec.exe

    Use the Bootrec.exe tool in the Windows recovery environment to troubleshoot and repair startup issues in Windows

    http://support.Microsoft.com/kb/927392

    If the problem persists, proceed to method 2.

    Method 2:

    Please follow these steps:

    1. Tool command prompt open in the mode of the Windows recovery environment .
    2. You will see X:\Sources
    3. Type chkdsk c:\ at the flashing prompt to launch the utility Chkdsk. replace c:\ with the letter of the drive that you want to run the Chkdsk utility. If the hard drive is d:\, then type that instead.
    4. After the "chkdsk c:\. "insert \f command to fix errors on the disk volume or the \r to recover bad sectors and then press ENTER.
    5. Restart the computer once the chkdsk command has completed.

    Note: Running chkdsk on the drive if bad sectors are found on the hard drive, it attempts to repair this sector, if all available on which data may be lost.

    For more information: Please refer to the section of the additional If you can not boot into Windows at all stages in the following link.

    Resolve stop (blue screen) error in Windows 7

    http://Windows.Microsoft.com/en-in/Windows7/resolving-stop-blue-screen-errors-in-Windows-7

    Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.

  • Create a background thread to consume a webervice and invalidate Manager to refresh the screen

    Hello

    I create an application that uses Web services to place objects on a VerticalFieldManager with the received information. What I'm trying to do is first tap on the screen and then consuming the Web service on the merits in order to refresh the screen while he receives the info. Right now my app uses the webservice from the preview screen, but it doesn't push the following until he finished consuming the WS.

    I read that you can create a background thread, and then syinchronize with the user interface refresh (invalidate()) screen, but I don't have all the tracks of where to start. Can someone help me please? Including creating a background thread?

    Thank you very much!

    The best way for your background screw to change your user interface within the constraints of the

    UiApplication.getUiApplication().invokeLater(new Runnable()
    {
        public void run()
        {
                     //your UI modifying code here
            }
    });
    
  • Get the two login screen when using the api of payment

    Hello

    I get the extra login screen when you use the payment api.

    When I pressed the button buy a login screen is displayed which is OK.

    After I get the connection information and tap on buy buy button is successful.

    Next, I check the purchase by calling the checkPurchase() method.

    After that, I see the login screen again...

    Here is my code...

    public PurchaseProduct (String product) {}
    TODO auto-generated constructor stub
          
    SKU = product;
    name = product;
          
    If (engine! = null)
    {
    engine.setConnectionMode (PaymentEngine.CONNECTION_MODE_LOCAL);
    PurchaseArgumentsBuilder arguments = new PurchaseArgumentsBuilder()
    .withDigitalGoodSku (sku)
    .withDigitalGoodName (name)
    .withMetadata (name);
    Try
    {
    Purchase purchase = engine.purchase (arguments.build ());
    Dialog.Inform ("purchase is successful.");
    }
    catch (IllegalArgumentException e)
    {
    Dialog.Inform (e.getMessage ());
    }
    catch (PaymentException e)
    {
    Dialog.Inform (e.getMessage ());
    }
    }
           
    }
       
    public boolean checkPurchase (product of the chain)
    {
    Try
    {
    Purchase [] = engine.getExistingPurchases (true);
               
    If (purchases.length! = 0)
    {
    for (int i = 0; i)< purchases.length;="" i++="">
    {
    If (Purchases [i] .getDigitalGoodSku () == Product)
    {
    Returns true;
    }
    }
    }
    on the other
    {
    Dialog.Inform ("not bought");
    }
    }
    catch (PaymentException e)
    {
    Dialog.Inform (e.getMessage ());
    }
    Returns false;
           
    }

    Thanks in advance...

    Hi pprateek,

    The behavior you describe, is what one would expect in this scenario. No matter what time you want to retrieve App World a user related information, you will need to provide their credentials.

    The first pop-up would happen when you call to the:

    Purchase purchase = engine.purchase (arguments.build ());

    Note that, if this succeeds, the object returned toPurchas will contain information about the purchase that was just to finish. This object can be used to check the details of the purchase that has just occurred.

    http://www.BlackBerry.com/developers/docs/payment/1.0api/NET/rimlib/BlackBerry/API/payment/PaymentEn...

    The second login screen happen when you call:

    Purchase [] = engine.getExistingPurchases (true);

    Depending on the application, the same credentials of App World cannot always ask. So if you ask that existing App World a user purchases, you will need to enter their credentials. As well for security purposes (I guess), someone buys an article is not necesserily because he agrees immediately to have additional details about their account recovered.

    The famous buy may be asked to confirm the details of your current purchase, and if you want to get a list of all current purchases, the user must enter their credentials again.

    Erik Oros

    BlackBerry Development Advisor

Maybe you are looking for