Screen pushing problem in the incoming call disconnected event

When a phone call disconnects I would push a screen containing some information about the appellant

In the call disconnected event I'm doing this:

UiApplication.getUiApplication () .requestForeground ();

UiApplication.getUiApplication () .pushScreen (new CustomScreen());

It works most of the time.

But when I close this screen the phone keypad.

And sometimes my screen does not get pushed and the keypad appears.

I could be wrong, but I guess that my screen is pushed in the wrong context?

Can someone point me in the right direction?

See you soon

I have a slightly different take on this problem.

I think that you run this code:

UiApplication.getUiApplication () .requestForeground ();

UiApplication.getUiApplication () .pushScreen (new CustomScreen());

at your disposal, and if you run in the context of phone, not your application.

The treatment of changes to it it context moves to your application - the best way to proceed is to use a Global event.  Search for informaiton on world events so this is new to you.

Tags: BlackBerry Developers

Similar Questions

  • How do I get the name of the caller (no contacts) that displays on the incoming call screen?

    Hi all
    1. work on the version of BB storm (9500/9530 Simulator) is v4.7.0.75
    2 opportunity BB JDE v4.7

    3. signed request

    4. the request is:

    I need to get the name of the appellant on the screen programmatically incall.
    I have observed that there are some providers will provide some default/a name on-screen incall.

    Note: I am not match the number of incall in contacts and look for the name.

    How do I get the name of the caller (no contacts) that displays on the incoming call screen?

    can any body help on this.

    Thanks in advance

    Ratna-

    There is no API that provides this information.  You can get the number of incoming callers, but not the name of caller ID.

  • Sometimes the incoming call icon does not work and the call remains lost. Please how clould I fix this?

    My 5s with 9.2.1 update sometimes drop the incoming call, participating in the function of the icon and the call are lost due to inoperative service. Does anyone know how to fix this?

    Try a forced reboot of the phone. You won't lose any data when you do this.

    To force the reboot your device, press and hold the two buttons of sleep/wake and home for at least ten seconds, until you see the Apple logo.

  • How to get the contact details of the contact list to the use of the incoming call number?

    Hello

    I need callid, name, name of the company from the list of contacts to the use of the incoming number. If anyone has a solution please reply me as soon as possible.

    I have code below

    void ApplicationUI::onCallUpdatedd(const bb::system::phone::Call &call)
    {
        CallState::Type state = call.callState();
        //qDebug() << "call updated: callId=" << call.callId() << " callState="
        //  << state;
        if (state == bb::system::phone::CallState::Connecting
                || state == bb::system::phone::CallState::Connecting) {
            qDebug() << "call connecting";
        } else if (state == bb::system::phone::CallState::Connected) {
            qDebug() << "call connected";
        } else if (state == bb::system::phone::CallState::Failed) {
            qDebug() << "call Failed";
        } else if (state == bb::system::phone::CallState::Disconnected) {
            qDebug() << "call Disconnected";
        } else if (state == bb::system::phone::CallState::Incoming) {
            qDebug() << "call Incoming";
        } else {
            qDebug() << "Invalid";
        }
    }
    

    then, how I got the calling detail like number, name, company ect... call id?

  • Change the incoming calls dialog box?

    Hello

    I need to add some text in incoming calls dialog box. This dialog box typically displays incoming call name and number when the call comes on the device. I want to show the text in addition to this information on the same screen.

    I tried to show the alert, but dialogue of incoming call has priority max and alert comes so after hanging up the phone.

    Please guide me on this.

    Thank you

    HS

    Thanks for the quick response.

    HS

  • Number of the incoming caller

    Hello

    When a call comes, I want to trigger an event in my application that extracts the incoming phone number and use it to display the details of the caller.

    Is there a way I can achieve this? If there is, please point me to the code example.

    Thank you and best regards,

    Christophe

    It is currently impossible to WebWorks for BB10

  • ID (CLI of the incoming caller SPA-3102) truncates the last digit when the telephone number is longer.

    Hi team

    Depending on the subject, when the number of the caller is Longer (i.e. International call with Country code etc.) as 11 digits, it truncates the last digit of the incoming phone number. See picture attached. Full number is 60126140235, but he loses the last digit is 5. Any suggestions?

    Also, there are comma (,) before the number that consumes valuable space. How elimiante that?

       

     FXO:Start CNDD fxo cnddwrap_feed parse ok 0060126140 status=2 -- Caller ID: -- Name = (null) -- Remote Number = 0060126140 -- Dialable Number = (null) -- No Number Reason = (null) -- No Name Reason = (null) -- Message Waiting = (null) -- Date and Time = 07/22 18:06 FXO:CNDD name=, number=0060126140 FXO:Stop CNDD FXO:CNDD Name= Phone=0060126140

    According to the newspaper that you have provided, the number of callers number claimed 0060126140.

    Length maximum support of the number in the E.164 format is 12 digits, including the country code. SPA don't know any used number format, so it has no reason to truncate 10-digit - I guess that he supported at LEAST 12 E.164 numbers.

    As the number seems to be broken on the side operators (00 superfluous as prefix, truncated to 10 digits) there's nothing you can to with him on the side SPA. We cannot guess figures sent by the operator to you...

    I can explain what is happening even on the side of the operators (although I'm only guessing) - I guess that we are talking of two digit country code country, so 10 digits is the maximum length of the national number. It seems your operator to consider the number national number and truncate them to 10 numbers on their side.

  • problem in the operation of disconnection when you click Yes in the dialog box

    Hi experts jdev,.

    use jdev11.1.1... version 5.0 - adfbc-oracledb10g-mozilla ffx10. model dynamicTabShell.
     <af:pageTemplate viewId="/oracle/ui/pattern/dynamicShell/dynamicTabShell.jspx"
                             value="#{bindings.pageTemplateBinding}" id="pt1">
    Summarized what I did:

    use af:tree in the left side of the model and hit the link to tree leaf is a region (.jsff) dynamic opens to the right. all in utilzing the
    dynamicTabShell model obiviously above right have a close button in open dynamic region.

    Ok.


    during a test of my application.

    I discovered a problem.

    When I type sheet customer tree link means a customer.jsff returns on the right side.

    customer jsff has some af:table that contains column required fields. while I hit createinsert average operation he provide a line for me. ok.

    When my cursor on the University designates required fields are error throw. It also has ok.

    When I suddenly hit close button.

    made dynamic close region with the error.

    and I suddenly want hits logout link appears in index.jspx. When I hit ways to disconnect

    After the code snippet works perfectly.
        public void OnDialogAction(DialogEvent dialogEvent) {
            DialogEvent.Outcome outcome = dialogEvent.getOutcome();
    
           here code is removed . due to pasted wrongly.
          correct  code is pasted ,after two post.
                
            }
        }
    but my problem is : means DialogEvent.Outcome.yes (when hit the Yes button in the dialog box). This mandatory are only alow does ' t throw me to perform the disconnect.

    Similarly, I run some tests in my application.

    I perform some duplicated in af:table and try to save it comes up an error pk. and I suddenly click Close. and I make means of disconnection from functioning.

    get the pk error.

    likethis, ah lot.


    How to fix or ignore all errors. During disconnected operation is it possible?

    Note: is rarely occur. If it happens, I did mean:

    This url.
    http://127.0.0.1:7101/xxxxxApp-xxUI-context-root/faces/RJAppIndex?_adf.CTRL-State=mogzrfk8t_9

    9 ADF.CTRL - State = mogzrfk8t* I'm going to go out this half of the browser and perform the operation of disconnection.

    First thing, I want to emphasize is you are actually not disconnect, you redirect to the login page.

    Also try to immediately assign = true on the commandlink to avoid shooting validations.

  • Problem with the so-called calendar LOV...

    Hi all

    I have a problem with the calendar LOV. Normally, since there suppose to act like a LOV must not cause any trouble during his appeal on a required field (or pass through his WHEN_VALIDATE_ITEM trigger). Still its giving me an error message saying that the field must be entered. I want to be able to call the calendar when you perform an insert (so the field is empty) and put the date selected in the field.

    I also want to do it by using a button (next to the date field) to show the calendar. Now I used the DO_KEY ('LIST_VALUES') command to call the Key_listval trigger (as shown in the demo), but it seems like its works really well. Any ideas on this subject would be apreciated.

    I use Oracle Froms 10 g and I followed the instructions in the PACK of DEMOS for the FORMS 10 g (on this site) to build the calendar.

    Thanks in advance!

    If you are talking about the "so-called" Lov calendar implemented using forms-objects (blocks, etc.), you will have the problem with the elements required for the calendar will assign a GO_BLOCK that causes validation to occur, which will fail on the need for article.

    Solution?

    If you're on 10G, theres also an example with a java bean.
    If the 6i, you could create a standalone implementation of the Agenda-lov-features and make a call_form instead of a GO_BLOCK.

  • The screen goes black when the laptop is disconnected

    The LCD on my DV6 becomes black when the laptop is disconnected the power supply cord.

    Help, please!

    Hi, have you checked the brightness on the energy savings?

  • Problems with the script to output event

    In fact I don't know if I have a problem with the Exit event or if there is something wrong with my script syntax... The output of a field event, I check if the field is empty or not and check a flag I put in place.

    The first if statement works - if I get back a value in the field, everything goes as planned. If I delete the value of the field, nothing happens.

    //if field has a value hide subSection04
    if (!(this.rawValue == null || this.rawValue.length == 0))
    {
         subSections.subSection04.presence = "hidden";
    }
    
    //if field is empty and flag equals true show subSection04
    else if ((this.rawValue == null || this.rawValue.length == 0) && (subFlags.Commercial.rawValue == true))
    {
         subSections.subSection04.presence = "visible";
    }
    
    //if field is empty and flag equals false hide subSection04
    else if ((this.rawValue == null || this.rawValue.length == 0) && (subFlags.Commercial.rawValue == false))
    {
         subSections.subSection04.presence = "hidden";
    }
    
    There are a few groups radio button that also control this behavior, they are all inter relate. So I tried also triggers the Click event of a radiobutton Group (which resembles the value in this field) out of this area, but that doesn't seem to work.

    Hi Jono,

    Your expression subFlags.Commercial.rawValue is true compares a String data type with a Boolean data type.

    Edit the expression as subFlags.Commercial.rawValue is 'true'

    I hope that this should work for you.

    Your code should look like

    //if field has a value hide subSection04
    if (!(this.rawValue == null || this.rawValue.length == 0))
    {
         subSections.subSection04.presence = "hidden";
    }
    
    //if field is empty and flag equals true show subSection04
    else if ((this.rawValue == null || this.rawValue.length == 0) && (subFlags.Commercial.rawValue == "true"))
    {
         subSections.subSection04.presence = "visible";
    }
    
    //if field is empty and flag equals false hide subSection04
    else if ((this.rawValue == null || this.rawValue.length == 0) && (subFlags.Commercial.rawValue == "false"))
    {
         subSections.subSection04.presence = "hidden";
    }
    

    Nith

  • Can Skype in the background and display the incoming calls?

    I have i-Pads on the wall which 24\7 software automation... Is there a setting that I can get calls incoming when Skype connects but running in the background?

    iOS 5 setting > notification > Skype (ON) > alert style (ALERT) > other (WE) all. iOS 5 setting > App Skyle > auto login (ON) > offline (NEVER) > notification message (sound and alert (ON).)

  • Screen resolution problem - is the bare min and there are no other options

    I've upgraded to Vista, a month or two ago and my screen resolution is the bare min and there are no other options better resolution. I tried to update the graphics card but it tells me that it is up-to-date.

    Update your video driver... try the following...

    If you have a portable computer... go to the support site for your computer manufacturer
    and the search for Compatible Vista video drivers updated.

    If you have a desktop computer... go to the website of your video adapter support
    manufacturer and find Compatible Vista video drivers updated.

    The following article can help you find the brand/model/driver version of
    your video card:

    Update Windows Vista graphics driver
    http://www.CGL.UCSF.edu/chimera/graphics/updatevista.html

    If you find a video updated driver... it would be a good idea to create a
    System restore point before you install it. Also be sure to follow all
    installation instructions that may be available on the download site.

    How to create a system restore point in Windows Vista
    http://www.Winhelponline.com/articles/139/1/

  • Problems with the outgoing calls and constant reboot

    I got my Droid on 12/23. It's a company phone, so I hesitate to consider the Verizon store.  It worked great until the 12/29 and then he stopped outgoing calls and began planting time in time, and then more often otherwise, now it hangs every two or three minutes.  It became useless as both a phone and for the most part.  I took the card SD and that did not help.  It always restarts on its own.  So I replaced the card.  I liked the phone for a week that it worked.  I really want to go back to a Blackberry, I'm sure that my company HIM people will probably try to convince me to do. Thanks in advance for any help you can give.

    I hope that helped! It's nice to have something to be such an easy solution!

  • Click management problem in the controls created dynamically events

    I'm creating the ObjectListField loop i-e (CustomObjectListField class is extended by the ObjectListField to customize its behavior) but the problem is that only by clicking the list no. 5 is managed other lists click handling is not manipulated thr id mylist2...

    CustomObjectListField mylist2;

    for (int i = 0; i)<>

    {

    mylist2 = new CustomObjectListField();

    }

    and click on manage using method...

    protected boolean navigationClick (int status, int time)
    {

    if(Field==mylist2)
    {/ / implementation of a feature}

    }

    }

    pls help

    Hello Shaina

    Your code is not so clear. I don't know why you're my differrrent creaing objects and passing them to the same reference. The last (the 5th list) one will be that which makes reference. In your method of navigation click you compare the rating with mylist2 that contains the reference to the list 5, it's why you have found the events for 5th list only.

    You must create an array of objectListfield, assign values to it and then use part of this comparison table.

    CustomObjectListField mylist2 [] = new CustomObjectListField [5];

    for (int i = 0; i)<>

    {

    mylist2 [i] = new CustomObjectListField();

    }

    and click on manage using method...

    protected boolean navigationClick (int status, int time)
    {

    if(Field==mylist2[0])
    {/ / implementation of a feature}

    }

    if(Field==mylist2[1])
    {/ / implementation of a feature}

    }

    if(Field==mylist2[2])
    {/ / implementation of a feature}

    }

    .

    .

    .

    .

    .

    }

    It may be useful

    Thanks Pierre

Maybe you are looking for

  • Windows fails to load on my Satellite L300d-243

    When I turn on my laptop windows will not load. This occurred just after a windows update, I n t have installation diskettes and I can t load in safe mode or anything like that. What can I do?

  • Windows 7 is hung up on the Welcome screen after deferred journal

    My problem is similar to what in the http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/windows-7-hangs-up-at-the-welcome-screen/144a1b42-3b5d-4cf0-b66f-d6c063768b44 except when I connect normally, it does not occur.  It is only i

  • Windows 7 does not recognize my hard drive

    I took my Toshiba drive of my previous PC running Windows Vista, put it into a Dynamode pregnant and now Windows 7 wont recognize - constantly asking me to re - format the drive. Some utilities recognize and some say corrupted file or you save to dis

  • Importing the photos. the camera

    I beg you pardon for asking again, but could someone instruct me on how to import pictures from my camera to Windows Photo Gallery?Thank youLeeflea

  • Adobe 6/CC not built-in lens in EXIF for Flickr

    I got cc lightroom and photoshop just this last week and noticed that when I export my photos, then download these photos on Flickr, the lens information is empty. I got lightroom 5 before last week, and the data for the goal has been always exported