Problem chart/getting updated when you press on the background thread notification dialog box

I have a user who is graphical reports strange behviour after our request and only under the following condiitions alarms:

1 sets of users clock back to trigger the alarm

2 user locked the BB

3. the user receives alarm 1 minute later

4. the user unlocks the BB

The strange behavior is that the background seems to resemble a back buffer bland with a rectangular hole where the notification dialog box should be.  The user clicks then the graphics and where the button should be back to normal.

The question is not if the user does not lock the BB first - it's only under the condition of deadlock that the problem occurs.  The user statement also sometimes see a dialog "Please wait" when running our application after unlocking, but never when our application is stopped.

Model is 8310 with 4.5 and approximately 3 MB of free space depending on the situation-> filefree.

The dialog box is to be generated and added to the queue by a background thread using the following method:

    private void notifyUser(String msg) {
        UiEngine ui = Ui.getUiEngine();
        EncodedImage icon = Theme.getIcon(false, true);
        Bitmap bm = null;
        if (icon != null) {
            bm = icon.getBitmap();
        } else {
            bm = Bitmap.getPredefinedBitmap(Bitmap.EXCLAMATION);
        }
        synchronized (Application.getEventLock()) {
            Screen screen = new Dialog(Dialog.D_OK, msg, Dialog.OK, bm, Manager.VERTICAL_SCROLL);
            ui.pushGlobalScreen(screen, 1, UiEngine.GLOBAL_SHOW_LOWER);
        }
    }

I checked the problem does not occur on the "BOLD", Pearl Flip, or 8100 with real hardware.  The problem never happens in simulators (tried about 6 models).

Any thoughts?  Is there something wrong with the code above or spark a dialogue for a non-event like this thread?

Thanks in advance...

The workaround for the "locked" State is to implement MemoryCleanerListener in your main application class. This listener is notified when the device is locked. We define a property here "deviceWasLocked", then query this property of our custom popup dialog to determine if we arrive on a locked screen.

Then we switch our application in the foreground (requestForeground) that clears up this particular issue, and any event goes well.

The problem of 'missed calls' is a little more complicated, unfortunately, but you're not complaining that one!

Having said all this, I'd love to see other ideas on how to solve this problem. We strugggled for several weeks with this problem when the 4.3 is released.

Tags: BlackBerry Developers

Similar Questions

  • PhotoshopCS1:Image gets ruined when you drag down the screen

    Untitled-3.jpg

    Only happens when you drag on the underside of the screen, and only when the layers tools, etc. are present.

    I'm using Photoshop CS (ver.8?) on Windows 7 32 bit.

    Problem still not fixed after reinstallation. Never had this problem on Vista

    Hello. Abandonment say that I found a solution. It turns out that the Aero desktop theme is causing the glitch. Photoshop works ok now after passing to a different desktop theme

  • After the last update when you connect to the inernet banking banks 2 after 5 seconds erases information and connection information must be re went and then is ok

    The banks are ANZ Australia and Natwest in the United Kingdom. Different log in details.
    For ANZ, I type in account and password. The fields clearly and if I am slow last part of the password is displayed in account.
    Account is above password and entered first. NatWest connection is different, but the same thing happens.
    I have deleted the cookies and cache.

    Hey there mwwatkins.

    Just a few things seems to me first, as Web sites are cool before you can complete the entry of your details. First thing I would check if something suspisious was happaning on an internet banking site would be to ensure it's the correct Web site and that it is safe. This can be done by seeing if there is a small green padlock at the top right of the window next to the address of websites, ensure it is there and the name of the company that has applied for security is the same as you try to access as natwest banks PLC.

    If it's all guarantee them and correct then I will seek to update flash, as many banks now use this plug-in to improve the user experience, if this is the cause of your problem, so he did not this.

    Let me know if this solves your problem, but I advise to contact your bank, they have good representatives who are experts in dealing with problems of connection and I would hate for you to have problems with such a newspaper in.

    Bradforth.

  • I unplugged and am now re = connected, but can not get start when I pressed on the on

    As I said, basically he just starts well plugged?

    Hello

    Your question does contain all required information necessary for help us to you to. Please re - write your question, this time make sure you have all the necessary info and we will try to help.

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

  • make a column in tab form readonly but writable when you press Add the line

    Hi all

    I have several pages with tabular forms based on a single table with an ID as the key primary and filled with a sequence by a trigger. So far so good. Now, I also have the 'significant primary key', presents a second column that has a unique key constraint. Now, I want to make this column readonly tabular form for all records already there and I want to do is return to writing when I push add line. So in fact, a user can insert this 'unique key', but then he can't change it more.

    I already tried to use java script as
    < script type = "text/javascript" >
    $(document) .ready (function () {}

    var arr1 = $("td[@headers=ART_ID]");
    for (i = 0; i < arr1.length; i ++)
    {
    If ($(arr1_).html() == null | $(arr1[i]).html () .length == 0)
    {
    {$(arr1[i]).each (function ()}
    $(arr1[i]).readOnly = true ;}) ;
    }
    on the other
    {
    {$(arr1[i]).each (function ()}
    $(arr1[i]).readOnly = false ;}) ;
    }
    }
    });
    < /script >

    But this only works with the "disabled" attribute, but then I had the problem that I can't introduce any line.

    Anyone with a solution for this?

    Thank you

    Erwin

    O.K.

    so you use javascript to loop on columns and set the attributes of cells to all that. You're right, disabled will cause the error message "no data found" to appear (I've had this a few days ago and first I wondered why :)).

    Of course, readonly works. You just need to write a little different:

    $x('f01_0001').readOnly = "readonly";

    and it will do the job.

    See this example:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:213

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • InDesign crashing when you press on the incopy frame

    InDesign Cc2015

    History imported InCopy Now - whenever the "InCopy" is touched by something else (graphic frame for example), or the width/height InDesign modified blocks it IE InDesign crashes about every 45 seconds - very boring - very very unproductive - any help appreciated

    Could be corruption in the document. Try to save as IDML and reopening in InDesign.

  • Alienware 15 'K' key crashes when you press any of the line

    Howdy,

    I have a little problem with my new laptop Alienware 15. Two weeks after getting it, I noticed that the key K tends to get stuck when you press any of the line. Basically, it remains in the pressed position and not coming back to the top unless I force it by inserting something like a needle under it.

    In the limited time, I used the laptop I have not stressed that special touch at all (just looked on the key combinations of the games that I've played so far and the K key was not used).

    Advice on what to do? I was thinking to get one of these cans of compressed air and blow air under the key and see if that solves nothing. A little scared to take a screwdriver and remove since who knows what I'm going to spoil. I would not have to send the laptop back just because one key is stuck and I hope it doesn't come to that.

    Thanks for any help.

    compressed air is a good choice, you can use a clean brush also (in my case I use both to clean my knees)

  • I get a notification to update when you sign in to firefox. When you try to update you get the message "connection to Server", which can go about 4 hours and never update

    I get a notification to update when you connect to firefox on my mac. When you try to update, I get a message "connect to Server" which can go over 4 hours and never update. It is most annoying. How can I remove that annoying popup which does not in any case all in ensuring that I have updated to the latest version?

    Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    Please report back to see if this helped you!

    Thank you.

  • When you press the button to update on ipad, it says cannot connect to store

    When you press the button to update on ipad, it says cannot connect to store

    Contact Apple for problems with their equipment and services. http://www.Apple.com/

  • When you press the new tab, how can I get the homepage instead of the history of tiles?

    When you press the new tab, how can I get the homepage instead of the history of tiles?

    You can try this.

    Instead of the parameter mentioned pref in about: blank, you can enter any site of your choice.

    Ex: encrypted.google.com

  • How can I solve very slow scrolling with the mouse when you press the command key? (MacBook Pro, Lion, no problem when using trackpad, no problem with other web browsers, other mice have the same problem)

    Scrolling speed is fine, but when you press the command key and then it becomes very slow.

    He does it with a mouse, but not with the trackpad.
    It does when the modules are disabled.
    No problem on Safari or Chrome.
    No problem on PC.

    I think it all started when I went form a MacBook with Snow Leopard on a MacBook Pro with Lion.

    Any help would be much appreciated.

    Thanks in advance!

    You use the mouse wheel to scroll?

    There are some prefs mousewheel, which control the behavior when you press the modifier keys.

    You can set the key to the action of each to 0 for normal scroll.

    See http://kb.mozillazine.org/About:config_entries #Mousewheel.

  • Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Here

  • I use windows 10 on pc. Creative cloud must update. He gets 2% and keep saying "error code: 81 please close the other setup programs" when you look at the Task Manager, no setup program is running. What should I do? Photoshop and Lightroom will not wor

    I use windows 10 on pc. Creative cloud must update. He arrived at 2% and stops, saying: "error code: 81 please close the other setup programs" when you look at the Task Manager, no setup program is running. What should I do? Photoshop and Lightroom do not work for me right now.

    Close applications or contradictory processes

    Solve the problems of downloading and installation of Adobe Creative Cloud

    Mylenium

  • Stop the updating of the region (report) when you press the button

    Hello

    I created a report region, using the select statement:
    select * from TABLE(CAST(JCMS_MERGE_BATCHES_PKG.show_merged_batches_fn('M29||0') AS jcms_rep_batch_type))
    Is there a way to stop this submission report when you press a button on my page?

    The reason for this requirement is that my report contains checkboxes for each returned row. The default value for the checkbox control is CHECKED when the report is refreshed. However, I would like users to uncheck some lines in the report, click a button and have a treatment performed on ONLY the checked lines. My page almost works, but because the report is refreshing, after I completed my treatment, the report is back with all lines in the selection again.

    Thank you very much

    Paul

    I think that your condition is similar to the following:

    http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:219

    However, it is not trivial.

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • Colors were reversed when you press Ctrl + Maj + 11

    original title: Please HELP! Graphics card problem... CTRL + SHIFT + F11:------.

    Help, please! im running windows 7 ultimate, I have a hp pavillion centre office. support, and a very powerful graphics card. I pressed Ctrl + Shift + f11 and reversed my colors by accident (another program used same hotkeys) and my graphics card is now totally messed up. I did not buy this computer and hope that there is a way to get back to normal. ALL STRONGLY FREQUENTED HELP!  Right now my computer display looks like one since the beginning of the 1990s, that the color is not actually reversed, but I discovered that this is what happens when you press Ctrl + Shift + f11

     

    Hello

    For me, command + SHIFT + F11 does nothing with the graphics.

    However even if I'm on Internet Explorer Ctrl + Maj + F11 takes me in Kiosk mode.

    Try the following and see if that helps.

    Method 1: It could happen if the theme is replaced with the base.

    Change the Aero theme and see if that helps.

    (a) right click on desktop, click Customize.

    (b) choose one of the themes, Aero themes

     

    Method 2: The graphics card uninstall and reinstall drivers and see if that helps.

    See the following steps:

     

    (a) click Start, right click on computer.

    (b) click on properties, click on Device Manager

    (c) expand the graphics card, right click on the adapter option

    (d) click on uninstall

    (e) now go to your computer / site Web of the manufacturer of the device, download the updated drivers and install them.

    Reference:

    Updated a hardware driver that is not working properly:

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

Maybe you are looking for