Dialog closes when touches you "end of call"

Hello

Can anyone recommend a way to keep a dialog box open when the screen is backgrounded and then put forward?  I find that when you press the button "Call" in my application and a dialog box is displayed, when you reopen the application from the dialog box will no longer present.

Thank you.

The problem was my fault.  By default, the dialog box must remain open, when the application is in the background.  I was substituting the deactivate() method that was to ruin what appears when the application comes to the foreground.

Tags: BlackBerry Developers

Similar Questions

  • How to prevent the popup dialog closes when you click the commandbutton

    Hello

    The application has a popup with the dialog box Cancel to display a table. Users could select the lines using a checkbox and click a CommandButton to backend processing.

    It displays a message (using addMessage) when he chose nothing.

    I would like to have the popup rest so the user could correct their action, but ADF automatically close the popup.

    Is there a way to avoid this?

    If I put the property AutoCancel to false, the popup rest (or rather re-posted), but the message window is hidden, which is defeat it purposes.

    I saw a discussion archived since 2008, but it doesn't have an answer, that's why I opened this thread.

    Kind regards.

    DjG

    Tried to set partialSubmit for af:button be true?

  • VI front panel does not close when it is done executing, when this vi was called by reference.

    I created a simple vi set to indicate the problem I'm having. I run dynamically under vi to leave a main application. Simply the main application is my test exec and the Subvi I call dynamically is different tests. In the example I have write here the criterion vi is called Test electric 1(vi). I configured this electric Test 1 vi to see the front when it is called and close later while initially closed.  Problem is that it doesn't close before.

    Other things to keep in mind

    • I want to be able to run the vi test and do not wait until it is done.

    I'm using LabVIEW 2012 SP1.

    Basically the fence after that call questions only if the VI is called as a Subvi (as if you open you a VI and run it, it does not close when it's done).  Are two ways to work around this or have your app high lvl close the VI when it's done, it's explained here:

    http://digital.NI.com/public.nsf/allkb/987B2026B41BD39786256CF800032E8C

    or having your VI close when it's done.  A reference of the VI and the front panel: Close call node.

    I hope this helps.

  • you wonder how to stop my iPad to ring when I get a phone call on my iPhone

    you wonder how to stop my iPad to ring when I get a phone call on my iPhone

    On your iPhone, go to settings > phone > call on other devices > allow calls on off other devices.

  • Get a message the message "Outlook has encountered an error and needs to close" when you add a contact.

    Original title: when adding a friend perspective encounters an error and needs to close.

    Windows XP: I'm under Outlook Express.  I also have the total package of McAfee.  Recently, I tried to add a friend to spam, and whenever I try (different email sources) I get Outlook has encountered an error and needs to close.  Any suggestions?

    Hi KonScheffel,

    Thanks for posting the question in the Microsoft Community!

    According to the description, it seems that when you try to add contacts from mail spam Outlook Express closes with an error message. However, we need a few details to help you better. Please help me to answer these questions.

    1. which version of Outlook Express you're using?

    2 have had any changes made to the computer before the question?

    3. What Service pack is installed?

    I have a couple of steps that should help you to solve this problem of troubleshooting.

    Method 1:

    Check if you have installed the update that is mentioned in this article.

    Outlook Express 6.0 stops responding or closes unexpectedly and you may receive an error message "Microsoft Outlook Express has encountered a problem and needs to close"

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

    Method 2:

    Try to check for the problem in safe mode:

    Start Outlook in safe mode starts Outlook without add-ins, the preview pane, or toolbar customizations and could indicate a profile damaged or conflicting third-party app or snap

    a. click Start.

    b. click run.

    c. type outlook.exe/safe.

    d. click OK.

    In addition, visit these links as a reference and check:

    HOW to: Add and remove names in your address book in Windows XP

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

    Outlook Express

    http://TechNet.Microsoft.com/en-us/library/cc961077.aspx

    Hope this information helps. Answer us queries windows and we will be happy to help.

  • Error message Windows XP released "generic host process for win 32 services has encountered the problem and needs to close" when you log on windows xp

    Error message Windows XP Home Edition comes out "generic host process for win 32 services has encountered the problem and needs to close" when you log on windows xp. I found the article exactly to what I have experienced http://support.microsoft.com/kb/821690 but as far as I know, this issue is not caused by an old HP printer. Can you give me the steps to fix this problem other that that link I mentioned. Thank you.

    Hello

    ·         You have a HP printer connected to the computer?

    If so, try the article you mentioned.

    Generic host process error message and a flashlight icon appear

    If this is not the case, check to see if this article helps you.

    Error messages when you start a Windows XP-based computer and then try to download Windows updates

  • Indicator of new blackBerry Smartphones when you place a call and I was wondering what it is.

    I was wondering if anyone has had or knows what is the next indicator?

    It only happens when I'm making a call and in this regard.  It appears right next to the volume indicator.

    Its a larger rectangle with 5 diamonds cross diagonally.

    Thanks for your help.

    It indicates that you have activated Audio amplification... Open your call log > Options > Options General, scroll down and you will see the option.

  • 11.4 Documaker closes when you open the workspace


    Hello

    11.4 Documaker studio immediately closes when you try to open a workspace. It worked fine until a week back. but then he began to behave like that. I tried to go through the INI settings if anything might have changed, but all right. And when I'm loging to the server, it is throwing an error message stating that DCVS.exe closed due to an error. I have attached the screenshot of event viewer. Kindly let me know any solution for that.

    Thank you

    Prasad

    Well, I've just exhausted things I can say. There must be something that has changed the environment that leads to this problem if your recent edits did not actually includes changes in the Documaker dll.  Maybe check online to determine if you have the last patch of the product level.

    If you have the time would be to install on another computer that does not have the latest updates and see if it works. Then re-apply updates one at a time to see if/when it stops working.

    Even do it well, I'm not sure you could get something patched to 11.4 since there are several other versions of the product that took place since then - 11.5, 12.0, 12.1, 12.2, 12.3 and 12.4 is up-to-date. You might be better to download a newer version and see if you have a problem at the opening of the workspace with this.

    Contact the support may be the only real option at this stage.

  • [JDev12.1.2, ADF] "Query with table Panel": how to auto - close the query Panel when the search ends?

    Hallo,

    I would like the Panel request auto - closes when the search is complete.

    This is to give all the space for the result in the talbe.

    How can I achieve this?

    Thank you

    Federico

    Federico,

    to do this, replace the queryListener one leave this point of a bean method. In this method, you run the processQuery by default and after that set the attribute to disclose the af:query component to false and ppr.

    {} public void processQuery (QueryEvent queryEvent)

    The generated QueryListener replaced by this method

    #{bindings. MyAllCriteriaQuery.processQuery}

    QueryDescriptor qdes = queryEvent.getDescriptor ();

    print or save the view criteria

    System.out.println ("NAME" + qdes.getName ());

    appeal by default query event

    {invokeQueryEventMethodExpression ("#{bindings.", QueryEvent "}") MyAllCriteriaQuery.processQuery};

    Object UIComponent = queryEvent.getSource () (UIComponent);

    Riq RichQuery = object (RichQuery);

    riq.setDisclosed (false);

    AdfFacesContext.getCurrentInstance () .addPartialTarget (riq);

    }

    Private Sub (string expression, QueryEvent queryEvent) invokeQueryEventMethodExpression {}

    FacesContext fctx = FacesContext.getCurrentInstance ();

    ELContext elctx = fctx.getELContext ();

    ExpressionFactory efactory = fctx.getApplication () .getExpressionFactory ();

    MethodExpression = me efactory.createMethodExpression (elctx, expression, Object.class, new class [] {QueryEvent.class});

    me. Invoke (elctx, new Object() {queryEvent});

    }

    and on the page

    model = ' #{bindings. " MyAllCriteriaQuery.queryModel}"queryListener =" #{QueryTestBean.processQuery} ' "

    queryOperationListener = ' #{bindings. " "MyAllCriteriaQuery.processQueryOperation}" resultComponentId =": resId1" / >

    Timo

  • Photoshop opens the dialog box when you try to fill a layer with locked transparent pixels

    This script should set the layer to lock transparent pixels and then fill the layer with a color. She is doing this, except when it is in the filling phase, it opens the dialog box fill, and you have to hit OK.

    If you omit the transparent pixel line, it works as not expected, no dialog boxes.

    Is there a way to remove the box? Or I'm doing something wrong, which is causing the box to open?

    #target photoshop
    app.bringToFront();
    
    doc = app.activeDocument;
    doc.artLayers[0].isBackgroundLayer = false;
    doc.artLayers[0].transparentPixelsLocked = true;
    app.activeDocument.selection.fill(app.foregroundColor); 
    

    Not sure why this is happening.

    But I would recommend blocking the above and using the AM code for a fill that pays tribute to transparency.

    #target photoshop

    app.bringToFront ();

    doc = app.activeDocument;

    doc.artLayers [0] .isBackgroundLayer = false;

    doc.activeLayer = doc.artLayers [0];

    // =======================================================

    idFl var = charIDToTypeID ("Fl");

    var desc18 = new ActionDescriptor();

    var idUsng = charIDToTypeID ("Usng");

    var idFlCn = charIDToTypeID ("FlCn");

    var idFrgC = charIDToTypeID ("FrgC");

    desc18.putEnumerated (idUsng, idFlCn, idFrgC);

    var idOpct = charIDToTypeID ("PCT");

    var idPrc = charIDToTypeID ("#Prc");

    desc18.putUnitDouble (idOpct, idPrc, 100.000000);

    TSM var = charIDToTypeID ("Md");

    var idBlnM = charIDToTypeID ("BlnM");

    var idNrml = charIDToTypeID ("Nrml");

    desc18.putEnumerated (TSM, idBlnM, idNrml);

    var idPrsT = charIDToTypeID ("PrsT");

    desc18.putBoolean (idPrsT, true);

    executeAction (idFl, desc18, DialogModes.NO);

  • Pop-up doesn't close when you press the ESC key

    I have a Help menu where clicking commandmenu element opens a Popup. This menu is common to all pages.
    Only in the login Popup page does not close when I press the ESC key. Once the connection remains of pages ESC key works.

    Here is my code for the menu popup and order

    < af:popup id = "helpPopup" contentDelivery = "lazyUncached" clientComponent = "true" >
    < af:panelWindow id = title = "#{soembean.helpTitle 'pw1'} ' modal = 'false' contentHeight = '500' contentWidth ="900"clientComponent ="true"resize = 'on'"
    stretchChildren = 'first' >
    < af:inlineFrame source = "#{viewScope.helpURL}" clientComponent = "true" id = "if1' shortDesc =" #{viewScope.helpURL} "sizing ="none"/ >".
    < / af:panelWindow >
    < / af:popup >


    < af:commandMenuItem id = text = "#{somebean.proceduralHelpLabel"procHelp"} ' shortDesc ="Procedural help""
    "rendered =" #{! sessionScope.SimulationMode} "action =" #{viewScope.help.procedureHelp} "partialSubmit ="true ".
    immediate = "true" / >


    Please give me? no idea what could be the cause or any other solution to close the pop-up window for all hours when I press Escape key?

    Hello

    is the update in the inlineFrame when you press ESC? If yes then this is probably why

    Frank

    PS: If you do not plan to access the JavaScript popup then having clientComponent = true set is a loss of client performance

  • Cannot put an end to calls on Skype for WP 8.1

    Hi all

    I can't put an end to calls to fixed/mobile phones on Skype for WP 8.1.

    I have the touch screen and it just goes black (as it is in standby mode) while my finger is on it. Screen appears again when I remove my finger. Appeal does not end. The only way is the other person to end the call or me to turn off my phone.

    All solutions? Looks like a pretty major bug.

    Thank you

    Hey,.

    and thank you for your additional info/effort.

    After some research, we have learned that it is a problem experienced with the Lumia 630/635 and she's been fixed to WP8.1 update 1. Wp8.1 update 1 deployment was launched and it will come to the Lumia 630/635 so.

    You can check if it is available by going to settings-> check updates to phone for updates.

    BR

    Jake Kunnari

  • <>! IllegalStateException: if dialog.close () (outOfBound);

    Hi, can you close himself in a dialog box if touch event goes next to the dialogue? I can close on the reverse as shows the code:

    protected boolean touchEvent(TouchEvent message)
    {
        int x = message.getX( 1 );
        int y = message.getY( 1 );
        if( x < 0 || y < 0 || x > getExtent().width || y > getExtent().height ) {
            // Outside the field
    //              close();//? can't be closed properly
            return false;
        }
    
        switch( message.getEvent() ) {
    
            case TouchEvent.UNCLICK:
            close();//? can be closed properly
            return true;
        }
        return super.touchEvent( message );
    }
    

    Solved! I thank you all the same.
    It is a great help if you can talk to some one when stuck.

    But I still have no idea of what the difference is between these two:

    protected boolean touchEvent(TouchEvent message)
    {
        int x = message.getX( 1 );
        int y = message.getY( 1 );
        boolean isOutOfBounds = false;
    
        if( x < 0 || y < 0 || x > getExtent().width || y > getExtent().height ) {
            // Outside the field
    //      close();//!
    //      return true;
    
            isOutOfBounds = true;
        }
    
        switch( message.getEvent() ) {
    
            case TouchEvent.UNCLICK:
                  // close in TouchEvent, if out of bounds
            if(isOutOfBounds)
            {
                close();
                return true;
            }
    
            close();
                         return true;
        }
        return super.touchEvent( message );
    }
    
  • How dio I remove the unwanted of dialog boxes when opening files in FM9

    Everytime I open the fm files in FM9 I am bombarded by a plethora of dialog boxes such as the ADD/EDIT VARIABLE, DITA CROSS_REFERENCE didn't intend to use. During the day, it must lead to probably over 100 clicks to get rid of these while being very annoying. Often, the work area is completely hidden by these dialog boxes. Is there a way to permanently delete these things and only open when we really want to do something like modifying a variable? Thank you very much.

    1roach,

    The feature you're looking for in FM9 is called "Workspaces." Your workspace is selected by using the dropdown in the top right of the window of FM, left minimize/maximize/close buttons. Simply set up the workspace exactly how you like it by opening the dialog boxes (or "pods") you use regularly, close the pods, you have not, fusion as the pods together as you wish, and moving everything exactly where you want. At this time, click this menu workspace and select "Save the workspace." The name that you want, and the next time that you open a document in FM, it should initiate this workspace automatically (assuming that it was the last workspace you had open... He memorizes the last workspace you used).

    For example, I put in spaces of work different for when I'm in the office or work at home (I have larger monitors at work, so I can use the space differently), but also of different workspaces for different phases of the drafting process. For example, I have a workspace for 'creation' which includes the pods for the Structure, elements, Variables, markers and cross reference. I then have a different workspace for working with graphics which has more pods based graphics, and another for the creation of index that has the pods that I use the most when indexing.

    Do a quick search in the help files of FM for "workspace." You will find a ton of info here. Indeed, if your help system is "online" mode and you select "include the results of the community" when searching, the first entry should be a blog entry titled "Workspaces in FrameMaker 9" on May 26, 2009... and the opening of the line is "Tired of loading dialog boxes, modeless, every time that you start your FrameMaker? Sounds familiar...

    Good luck!

    Mykimus

  • Close popup at the end of the procedure

    I built a custom shortcut menu that I use to store a value in conjunction with the current screen. The popup contains the values of the current screen, asking the user for a little more entries, and then saves the records. The procedure works very well. Once the procedure is completed, I want to close the pop-up window.

    I tried two things: using a procedure to close the Popup window and use of indicators of this thread:
    Re: Close the popup after MRU

    I got to work (part close) but I had to go back and change some of my page and now it does not work yet. Can anyone suggest what to watch?

    Header HTML:
    <script language="JavaScript" type="text/javascript">
    function closeWindow() 
    {
     if ( document.getElementById("P1069_SAVESTATUS").value == 'R' )
     {
      window.opener.location.href=window.opener.location.href;
      window.close();
     }
    }
    </script>
    One of the regions HTML, source is:
    <script language="JavaScript" type="text/javascript">
      onLoad="closeWindow();"
    </script>
    Article P1069_SAVESTATUS of the region is defined as hidden, the value "n" when session state is null.

    Process is the following (triggered by the button FINISH):
    declare
      v_job        NUMBER     := :P1069_TC_ID;
      v_dt         DATE       := to_date(:P1069_DT,'MM/DD/YYYY');
      v_emp        NUMBER     := :P1069_EMP_ID;
      v_pkg        NUMBER     := :P1069_PKG_ID;
      cursor c_pkg is select COURSE_ID from TRAINING_PKG_ASSIGN
                where COURSE_PKG_ID = v_pkg and COURSE_ID > 0
                order by COURSE_ORDER;
      v_crs        NUMBER;
      v_eemp       NUMBER     := :G_USER_ID;
      v_edt        DATE       := SYSDATE;
    begin
      delete from EMP_TRN_HISTORY
       where TC_ID = v_job;
      open c_pkg;
        LOOP
          FETCH c_pkg into v_crs;
          EXIT WHEN c_pkg%NOTFOUND;
            insert into EMP_TRN_HISTORY (EVENT_ID, EVENT_DATE, TRN_CRS_ID,
                  ENTRY_EMP_ID, ENTRY_DATE, TC_ID, EMP_ID, PKG_ID)      
               values (SEQ_EMP_HISTORY.nextval, v_dt, v_crs,
                     v_eemp, v_edt, v_job, v_emp, v_pkg);
        END LOOP;
      close c_pkg;
      :P1069_SAVESTATUS  := 'R';
    end;

    Try to change the HTML code in your area for

    
    

    onload = "" notation would be used if you were putting the function call the "tag of the page.

Maybe you are looking for