Every second time right peripheral (9800) / Simulator get hanged.

Every second time right peripheral (9800) / Simulator get hanged.

Here are the steps.

1. install the application via OTA.

2. open app. It's work very well.

3. close the application and try to open again.

Device /Simulator hanged and no operation will be performed, only restart. and second time count not abel to start tha app.

Please suggest me. How to solve this problem,

It looks like your communication code runs in the same thread as the UI.

Try to put the communication on a separate thread and see if it helps.

E.

Tags: BlackBerry Developers

Similar Questions

  • When the press the play button, how we get information of angle in every second time bar?

    proje123.png

    When the press the play button, how we get information of angle in every second time bar?

    You can get the values of rotation for each image by calling the method. valueAtTime() on the Rotation property. So, if you want to know what the value is at the 2 second mark...

    layerObj.property("ADBE_Transform_Group").property ("ADBE Z rotation").valueAtTime(2, false);     'false' includes the results of the expression, 'true' does not work.

  • ToolBoxTools.addEventListener works only every second time

    Hello!

    Our layouts often enough by clicking on the tool 'page' in error, and it's happened several times, that it changes the size of the page without even noticing. Because there is no way to remove the tool from the toolbar (I guess?), I want to write a script, which displays at least a message that the page tool ("Seitenwerkzeug" in German) has been selected. Unfortunately, the event listener works only every second time:

    1 indesign begins > selection tool is active

    2. click on the tool page > message > tool page is active

    3. click on "another outil1" > "other outil1" is active

    4. click on "other tool2" > "other outil1" is active

    5. click on the tool page > nothing happens, page tool icon is active, but the 'tool2 another' icon is still active, too, and 'another tool2' is always on

    6. click on "other tool3" > "other tool3" is active

    7. click on the tool page > message > tool page is active

    8. ......

    No idea why this is?

    My script:

    #targetengine myToolListener

    app.toolBoxTools.addEventListener ("afterAttributeChanged", changeToolAlert);

    function changeToolAlert() {}

    If (app.toolBoxTools.currentToolName == "Seitenwerkzeug") {}

    Alert ("Message", "Title");

    }

    Exit(); I tried with and without this!

    }

    At first, I tried to use a confirmation message instead of an alert, who had the same problem and I thought it would be because the change does not work... but it seems that I can't yet work with information without something to 'crash' in the background?

    My previous confirm function:

    function changeToolConfirm() {}

    If (app.toolBoxTools.currentToolName == "Seitenwerkzeug") {}

    var confirmDialog = confirm ("You want to activate the page tool?", true);

    {if(!confirmDialog)}

    app.toolBoxTools.currentTool = UITools.SELECTION_TOOL;

    }

    }

    }


    I really hope someone has an idea

    Best,

    Anke

    Hi Anke,

    The problem, I think, comes from the fact that the Page Tool selection event (which you listen via afterAttributeChanged) needs time to complete. Since alert() and confirm() education gives focus to a new modal window before the event lifecycle is completed, the GUI becomes unstable, state icon described is not properly restored and your event management does not.

    One way to solve this problem would be a temporary queue listener IdleEvent once the Page Tool selection event is taken. In other words, we do not start one any modal dialog box as long as the GUI is refreshing.

    Something like this:

    //====================================================
    // PageToolDisclaimer.jsx
    //====================================================
    
    // Should be useable as a startup script, no #targetengine required
    // NB - MutationEvent is known to create a global 'evt' variable
    // so we don't seem to need a persistent session engine here :-)
    // That's why the active script File is used as the event handler
    
    (function(/*File*/EVENT_HANDLER, /*str*/TASK_NAME, /*uint*/TASK_TIME, /*str*/PAGE_TOOL_NAME)
    {
        var t;
    
        // Installer
        // ---
        if( !(t=app.toolBoxTools.eventListeners).length )
            {
            t.add(MutationEvent.AFTER_ATTRIBUTE_CHANGED, EVENT_HANDLER);
            return;
            }
    
        // IdleEvent handler (--> confirm)
        // ---
        if( (t=app.idleTasks.itemByName(TASK_NAME)).isValid )
            {
            t.eventListeners.everyItem().remove();
            t.remove();
            if( !confirm("***WARNING***\rDo you really want to activate the page tool?", true) )
                {
                app.toolBoxTools.currentTool = UITools.SELECTION_TOOL;
                }
            return;
            }
    
        // PageTool event handler
        // ---
        if( ('evt' in $.global) && 'currentToolName'==evt.attributeName && PAGE_TOOL_NAME==evt.attributeValue )
            {
            evt.stopPropagation();
            app.idleTasks.add({name:TASK_NAME, sleep:TASK_TIME})
                  .addEventListener(IdleEvent.ON_IDLE, EVENT_HANDLER);
            }
    })(app.activeScript, 'WaitPageTool', 400, app.translateKeyString('$ID/Page Tool'));
    

    Hope that helps.

    @+

    Marc

  • Discoverer get the parameter sys_context every second time

    Hello

    I have a very strange situation with Oracle Discoverer BI 11g (11.1.1.6.0)

    There is a package which is reflected in the context of two values DATE_FROM and DATE_TO. In the view, it looks like:

    ET aeb. GLOB_YEAR_MONTH > = to_number(SYS_CONTEXT ('SEPA' 'DATE_FROM'))

    ET aeb. GLOB_YEAR_MONTH < = to_number(SYS_CONTEXT ('SEPA' 'DATE_TO'))

    I created workbook with the worksheet, which is based at the sight and use parameters to pass to the sys_context in addition.

    The problem is that opening spreadsheet for the first time and entering the settings I get the empty result, but as soon as I do refresh parameters (values remain the same) I results.

    In other words, every second I get the results for the query execution.

    Anyy ideas?

    Thanks in advance

    Seems in this case, the problem is:

    You can set a worksheet to set up a different session many
    These parameters and settings is valid for the duration of the
    Discoverer session. However, users should be informed of a problem then
    This technique is used with the discoverer Plus and the Viewer. Discoverer of the Web-based
    sets cache the results of SQL queries. When a workbook is opened, if the same
    SQL query has already been run, then the previous results are returned to the
    user. Discoverer does not detect that the context has changed and that the
    query will now return different results. This problem can usually be fixed by
    the user refreshing their workbook.

  • I have osx EL Capitan on my mac and if I click on the right icon cloud site get creative every time error on download een applications which can make

    I have osx EL Capitan on my mac and if I click on the right icon cloud site get creative every time error on download een applications which can make

    Hello

    for this problem, you can refer to the following link and discussion

    Using creative cloud | Download error in the applications tab of Creative Cloud Desktop Application

    Persistent Cloud error - error download - creative

  • Eclipse fails to package the project every other time I try to run BlackBerry Simulator

    I have a simple project that I've set up using the SDK 7.1 BlackBerry, it has no external dependencies.

    Almost without fail, every other time I hit him "run on BlackBerry Simulator' I get an error similar to the following:

    Packaging project BlackBerryApplication
    C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\bin\rapc.exe -convertpng -quiet codename=deliverables\Standard\7.1.0\BlackBerryApplication -sourceroot=D:\Git\BlackBerry Application\BlackBerryApplication\src;D:\Git\BlackBerry Application\BlackBerryApplication\res;D:\Git\BlackBerry Application\BlackBerryApplication -import=C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\lib\net_rim_api.jar deliverables\Standard\7.1.0\BlackBerryApplication.rapc D:\Git\BlackBerry Application\BlackBerryApplication\bin
    JAR file creation failed with error -1
    The preverified classes if any are in tmp28761. See jar log of errors in C:\Users\t_gibson\AppData\Local\Temp\rapc_71af6d24.dir\jarlog.txt
    Error!: Error: preverifier failed: C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\bin\preverify.exe -d C:\Users\ ...
    Packaging project BlackBerryApplication failed (took 0.584 seconds)
    

    No matter if I clean up project or own Simulator I still get the same error another each compilation. Does anyone have an idea what could cause this? If I type "run on a BlackBerry Simulator" right after the error, it works fine.

    I use the 9900 with Eclipse 3.7.2 and BlackBerry 7.1.0.10 SDK Simulator. The plug-in version is 2.0.0.201207181003.

    Thank you!

    EDIT: I should clarify that when I say that the cleanup project makes no difference, what I mean is that cleaning of the project once the means it compiles OK next time, but unless he is cleaned after the first compilation, again a second time the compilation will fail. If although the project before each compilation of cleaning could cause it to compile every time, this does not solve the problem that it is there always something left in an inconsistent state after a successful compilation.

    I have determined that the source of the problem was a bad setting in the project configuration that I did when I created the project, I added wrong file the project root to the source compilation path option on folders. The error in the line of rapc.exe is highlighted below

    Packaging project BlackBerryApplication
    C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\bin\rapc.exe -convertpng -quiet codename=deliverables\Standard\7.1.0\BlackBerryApplication -sourceroot=D:\Git\BlackBerry Application\BlackBerryApplication\src;D:\Git\BlackBerry Application\BlackBerryApplication\res;D:\Git\BlackBerry Application\BlackBerryApplication -import=C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\lib\net_rim_api.jar deliverables\Standard\7.1.0\BlackBerryApplication.rapc D:\Git\BlackBerry Application\BlackBerryApplication\bin
    JAR file creation failed with error -1
    The preverified classes if any are in tmp28761. See jar log of errors in C:\Users\t_gibson\AppData\Local\Temp\rapc_71af6d24.dir\jarlog.txt
    Error!: Error: preverifier failed: C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\bin\preverify.exe -d C:\Users\ ...
    Packaging project BlackBerryApplication failed (took 0.584 seconds)
    
  • Not able to install Itunes for my pc windows7 (64 bit) im... Every time I have install I get the message "there is a PROBLEM WITH CE PACKAGE WINDOWS INSTALLER. A DLL REQUIRED FOR THIS FULL INSTALLATION COULD NOT BE EXECUTED. PLEASE CONTACT THE SUPPORT STA

    Not able to install Itunes for my pc windows7 (64 bit) im... Every time I have install I get the message "there is a PROBLEM WITH CE PACKAGE WINDOWS INSTALLER. A DLL REQUIRED FOR THIS FULL INSTALLATION COULD NOT BE EXECUTED. PLEASE CONTACT THE SUPPORT STAFF. "What should I do? I am new to Iphone! If you could help me on this, it would be very appreciated...

    aarruunn, you might want to try Windows Installer Cleanup utility.

    http://www.MajorGeeks.com/files/details/windows_installer_cleanup_utility.html

  • upgrade to windows 10, cannot open itunes, it opened the first time, and imported all my songs, but does not open a second time, get the error that the path is not correct and file not found

    upgrade to windows 10, cannot open itunes, it opened the first time, and imported all my songs, but does not open a second time, get the error that the path is not correct and file not found

    Try to repair the security permissions for iTunes for Windows and the empty/corrupted after upgrade/crash iTunes library.

    TT2

  • Every time I download something I get all is that Windows does not find C:\Users...

    Every time I download something I get all is that Windows does not find C:\Users... Make sure you typed the name correctly and then try again. How can I fix it? Oh and im on vista if this does nothing.

    Hello

    • Have you tried new user account and correct links corrupt user account?
     

    If you want to talk with the support of Microsoft, you can call Microsoft. To so please check this link:

    How and when to contact Microsoft and support Customer Service

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

    However, there will be a charge for this support.

  • I get a message saying "drive does not have the ability to access this service and I just paid for 12 months (FOR THE SECOND TIME) in the last two months!

    I get a message saying "drive does not have the ability to access this service and I just paid for 12 months (FOR THE SECOND TIME) in the last two months!

    Hi phillipt84805120,

    Make sure that you have the latest Adobe Acrobat Reader DC (Adobe Acrobat Reader DC install for all versions) installed on your computer to use the services of export to PDF as the older version of Reader support any more.

    Alternatively, you can use services online at https://cloud.acrobat.com/exportpdf

    Let me know if you are still having a problem.

    Kind regards

    Nicos

  • Every time I start Firefox, I get a survey with a suffex program has. How to eliminate

    Every time I start Firefox, I get a survey with a suffex program has. How to eliminate

    You can check the setting of the home page.

    Firefox supports several home pages separated by ' |' symbol (pipe).

    You can check for problems with the sessionstore.js file in the profiles folder that stores the session data. When sessionstore.js is deleted you lose pinned tabs and open tabs, and you need to recreate them, so possibly make a note or bookmarks.

    You can use this button to go to the current Firefox profile folder:

  • I'm trying to change my cell phone only. in windows live to get alerts, but I couldn't do it, because there might be no option for save no.. second time.

    Hello

    Suggest me to update my phone doesn't. more details, for the second time in windows live.

    Salvation came,

    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 at www.windowslivehelp.com.

  • Hi why do I get second time my hotmail temprorairly blocked?

    Hi why my emai or msn's block again? This is the second time now, and is the first couple months a go and now if it happens again I'll change stop eamil using your service light I'm perfectly on my account, can it block? for what reason? I'm so bad about that so please help me with this...

    Yours sincerely,
    Jeff

    Hello

    This is not microsoft

    and we can not help with hotmail problems in these forums of vista

    Please repost your question in hotmail in the hotmail link below forums

    http://windowslivehelp.com/product.aspx?ProductID=1

  • 9800 Simulator Reload/Hot Swap with Eclipse 1.1 does not work for me

    Hello

    I've updated all plugins Eclipse today range below;

    BlackBerry Java plug-in 1.1.2.201004161203 - 16 net.rim.EclipseJDE.feature.group
    BlackBerry Java SDK 6.0.0.29 net.rim.ejde.feature.componentpack6.0.0.feature.group
    BlackBerry Java SDK 5.0.0.25 net.rim.ejde.feature.componentpack5.0.0.feature.group
    BlackBerry Java SDK 4.7.0.57 net.rim.ejde.feature.componentpack4.7.0.feature.group
    BlackBerry Java SDK 4.6.1.49 net.rim.ejde.feature.componentpack4.6.1.feature.group
    BlackBerry Java SDK 4.6.0.23 net.rim.ejde.feature.componentpack4.6.0.feature.group
    BlackBerry Java SDK 4.5.0.28 net.rim.ejde.feature.componentpack4.5.0.feature.group

    I try to get hot to labour in the 9800 unsuccessfully Simulator code swap. All the online documentation says it should work and I saw the evidence that it works on the old JDK to http://supportforums.blackberry.com/t5/Testing-and-Deployment/How-To-Use-Hot-Swap-with-the-BlackBerr... . Nice article... but it does not mention the eclipse plugin. I can't find "Simulator of reuse" check box on one of the eclipse debugging configuration forms!

    When I change my code and trying to debug a second time, I get the message "A BlackBerry debugging session is already active."

    I can run the Simulator 9800 ok, but it takes 10-15 minutes of startup: ^(et cela tue ma productivité.)

    Could someone rim give a clear statement or point me to a final resource stating if hotswap is supported on the eclipse plugin.

    Thank you

    Randy

    I got it work after trying two additional things. I don't know which one solved the problem.

    1. I had an entry in my environment variable path pointing to a directory of 'bin' of the eclipse plugin that I deleted old.

    2. I did a complete new installation of the classic eclipse 3.5.2 1.1.2 BlackBerry plugin eclipse and plugin SDK 6.0.

    Don't know which of these things is switchable hot work.

    I still get traded an exception when the debugger attaches more switchable hot but if I click here my code gets hot and I am able to continue debugging on the 6.0 9800 Simulator so I'm a happy guy

  • &lt; iframe &gt; link to #anchor work only the second time

    I explore a way to offer a local within a framework of content Web HTML file so that it starts at a specific HTML anchor point rather than the top of the HTML page.

    Now, given that the Web Content overlay of DPS does not support URL + format (e.g. myfile.html #myanchor) of the anchor chain, I thought that I could achieve the desired result by loading an HTML file in the superposition of Web content that points to the HTML file and its anchor named in a tag < iframe >.

    It is where it gets boring. The solution works... but only on the second time you call to the top of the Web content overlay (normally hidden in an MSO).

    The first time I have call the overlay Web Content in my article DPS on the iPad, however, the HTML page but not the specified anchor point, or indeed at the top of the page HTML - instead, it seems to start a little more down the anchor. If I reject the superimposition of Web content (in my case, switch to another State of the object) and return, the HTML code recharge starting at the position of the anchor, exactly as planned. I can close the folio, reopen it and the behavior is always correct. It was only the first time that it fails to do the right thing.

    I am very happy that my solution works on the second, third and every opportunity, but it's very important that readers see first working time.

    I tried to delay automatic playback of the content of the Web, but this makes no difference. The anchor is identified using the tag "id".

    Any ideas?

    Thank you, Neil. But you can ask your guys to withdraw. Someone made me a coffee strong tonight and I realized that I was this approach from the wrong angle. I've seen this number of HTML pages requiring a refresh before you display it correctly in other circumstances, even in Chrome on my computer, so I doubt that it is a specific problem of the DPS - maybe it's something in webkit.

    Anyway, the coffee made me realize that I have an iframe to load another HTML file to an anchor. All I need is to pop a little GoToAnchor script in thetag and a call at the beginning of thetag.

    Someday, if someone corrects completely broken site of Adobe Cookbooks, I download a lot of these recipes.

Maybe you are looking for

  • Where do we get our logo of Firefox for desktop PC?

    After you download Firefox 8 & 9, then by installing both, you're nothaving a logo of Firefox! We have downloaded another 8 Firefox and still notLogo of Firefox. What gives? Jerry L. Robertson ([email protected])

  • Internet has been disconnected by Wi - Fi

    Hello I'm on Macbook Pro (retina, 15 inch, mid-2014) with OS X EL Capitan (worm: 10.11.3).) I am facing a problem since I upgraded to EL Capitan, Internet connection by wi - fi is disconnected while using the same time wi - fi connectivity with the w

  • Re: Satellite L500 - inialization webcam failure

    I have windows 7 and a Toshiba Satellite L500 my webcam seems has stopped working, a window opens at startup and says that it has failed to initialize. I tried a few troublshooters but without result... anyone have any ideas or suggestions on how I c

  • Impossible to enable protection against vibration HDD

    I disabled the protection against vibrations and it cannot activate again. I consulted with utilities and the screen to turn on is grayed out.I called Toshiba support and they told me to restore to an earlier date. Any date, I chose, I have an error

  • MISSING ifconfig eth0 eth0 Link encap HWaddr LAN:eth2

    Hi team! I have a problem with the installation of the Cisco virtual driver in a server vmware UCS (be6k). In all packages (conductor, expressays), I have the same alarm, saying: hardware failure: LACK of LAN:eth2 ifconfig eth0 eth0 Link encap HWaddr