Post Global event

Hello.  Looking for ideas on display / listen to world events.  Eager to update the text of a suite labelfield smsSendListener() sendMessage.  Little confused on how to proceed.  When you run ApplicationManager.getApplicationManager (.postGlobalEvent), must the long value match the value of the smsSendListener() object?  At this point, I guess I listen for this value of type long.  SmsSendListener passed as an object I can refer is based on the value of long type when listening to it?  I have a sample of http://supportforums.blackberry.com/t5/Java-Development/Global-Events-and-Global-Event-Listeners/ta-... but also http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/GlobalEventListener.htm... and http://www.blackberry.com/developers/docs/7.1.0api/net/rim/device/api/system/Application.html#addGlo...).  Can someone tell me something that might provide a bit more guidance in this work?  Thank you.

Take a look at the samples provided by the ApplicationManager class:

http://www.BlackBerry.com/developers/docs/7.1.0api/NET/rim/device/API/system/ApplicationManager.html

You 'fire' a value of type long, but associated long value, you send 2 ints and 2 objects.  In your case, for example, you could send the text that you want to use to update the field and the field that you want to update.  The long value must be unique.  Then in the listener, you have to wait the long value.  When a long value, you can convert objects associated with it to anything you want, and then perform an action - in your case, update the text field.

I hope this is sufficient.

Tags: BlackBerry Developers

Similar Questions

  • Global events and global event listeners does not work!

    I don't know who to ask if I have questions about knowledge base articles so I'll post here.

    I want to push the alert as how dialog box integrated calendar alerts to users. I understand that I need to use the globalevents and listeners, so I studied it in the knowledge base article below:

    http://supportforums.BlackBerry.com/T5/Java-development/global-events-and-global-event-listeners/TA-...

    However, when I run the code, it does nothing. The way it is set up, it should display messages ("received event, sending accused of receipt and acknowledgement received"), but nothing happens on my Simulator, once I have 'fire' of the global event. Help, please!

    No problem. We were all there at one point.

    Each of these files has a main method that is your entry point to the application. Since everyone has one, they all have two need to have their own projects.

    For example, to create a new project for each of these files in Eclipse (or JDE; Eclipse preferred) and drop the code in., and then run the two projects on the Simulator.

    Once both applications on the sim card, you can then view the interaction between the two applications.

  • Launch Global event listener when auto start MyApp

    What I was trying to do:

    MyApp has an alternative entry point and the graphical user interface.

    access to choice, I wanto save a folderlistener that triggers a global event to trigger an email sending process.

    so far, I've only had the entire process running only if I join the global event listener in the GUI part, it means when myapp GUI stood then go global Stanley knitted.

    but I want Global event listener remains all the time, how can I do this?

    I did some research in this Ant but just couldn't understand it

    any responses appreciated.

    my code:

    ============================================

    SerializableAttribute public class MyApp extends UiApplication implements FieldChangeListener, GlobalEventListener
    {

    Public Shared Sub main (String [] args) throws AddressException, ClassNotFoundException
    {
    MyApp PAP;
    If (args! = null & args.length > 0) {}
    {If (args.length > 0 & {args [0].equals("Auto-MyApp")})}
              
    Entered another application by the entry point.
    Turn on folderlistener at startup.
    FolderListenerApp.waitForSingleton ();
               
    }
    else {}
    PAP = new MyApp();
    theApp.enterEventDispatcher ();
    }
         
    }

    private void AddGlobalEvent() {}
    addGlobalEventListener ((GlobalEventListener) this);
    }

    Public MyApp() throws AddressException, ClassNotFoundException
    {
           
    ........

    AddGlobalEvent();
           
           
    ........
           
       
    }

    ' Public Sub eventOccurred (guid long data0 int, int data1, the object object0,)
    Object1 object) {}
           
    Logger.logEventError ("in eventOccurred...");
    Is it the GlobalEvent we expect?
              
    If (guid is 0xa4c7e78a6c3fe109L)
    {
    Yes.

    FolderListenerAction f = new FolderListenerAction();
    New Thread (fa) m:System.NET.HttpListener.start ();
    }
           
    }

    }

    ==================================

    Check out this tutorial that I posted earlier, it shows an application that is divided into a background process (extends the Application and begins when the operating system starts) and a process of foregroud/AC (extends UiApplication).

    Both are implementing GlobalEventListener and use it to talk with them

    http://supportforums.BlackBerry.com/T5/Java-development/tutorial-communicate-between-apps-processes/...

    Scroll down to the post on that date "2010-06-19 23:22"to the GET, the corrected version of the code.

  • Is it safe to use the same GUID to validate a global event?

    Hey everybody,

    I write a global event of a library project that I set up in my main application. Everything works fine. However, I'm wondering whether or not it is a good idea to always use the same GUID, or if I should generate a new to each one time? If I generate a new one every time, I don't know how I can have the control of the main application to see what GUID to search, as it would be generated in the library project...

    manager.postGlobalEvent(pid, 0xCAFEBABE, 0, 0, null, null);
    
    public void eventOccurred(long guid, int arg1, int arg2, Object arg3,
                Object arg4) {
            if (guid == 0xCAFEBABE) {
                authorize();
            }
    
        }
    

    Thank you!

    I think that if the events then report the amount of the fine to use the same GUID with different arguments.

    For example:

    public class Events {
        final public static int EVENT_AUTHORIZE = 1;
        final public static int EVENT_OTHER = 2;
    }
    
    manager.postGlobalEvent(pid, 0xCAFEBABE, Events.EVENT_AUTHORIZE, 0, null, null);
    
    public void eventOccurred(long guid, int event_type, int arg2, Object arg3,         Object arg4) {        if (guid == 0xCAFEBABE) {                    switch(event_type) {                     case Events.EVENT_AUTHORIZE:            authorize();                        break;                    case Events.EVENT_OTHER:                        doSomethingElse();                        break;                    }     }
    
       }
    
  • Creating ent via API and post processing event handlers

    I have a number of post-processing-event handlers defined for the creation of the organization. They all work fine and do what they need to do when I create an organization via the web interface. However if I create an organization that uses the Java API, managers of events do not run. They are not supposed to run? I think that IOM should handle all the same applications - everywhere where they are generated.

    Here is my example of API:

    Import Thor.API.Exceptions.tcAPlException;
    Import Thor.API.Operations.tcOrganizationOperationslntf;
    import java.util.Hashtable;
    import java.util.HashMap;
    Import javax.security.auth.login.LoginException;
    Import oracle.iam. platform. OIMClient;

    public class test {}
    Public Shared Sub main (string [] args)
    {
    Hashtable env = new HashtableQ;
    approx. put (0IMc1 I ent. jAvA_NAMING_FACTORY_INITIAL, "weblogic.jndi.WLInitiialContextFactory");
    env.put (mpta OIMC]. JAVA_NAMING_PROVIDER_URL, "t3: / / localhost:14000");
    OIMClient oimclient = new olMClient (env);
    try {}
    oimclient. Login ("xelsysadm", args [O] .tocharArrayO); II the password is the only argument
    } catch (System.Exception e)
    System.out.println ("ERROR: connection exception.") Please check your username / password are correct. ») ;
    }
    tcorganizationOperationsintf orgManager = (tcOrganizationOperationsintf.class) oimclient.getservice;
    < String, String > HashMap hmorgDetails = new HashMap < String, String > ();
    hmOrgDetails.put ('Organizations.organizationName', 'org test');
    hmorgDetails.put ('Organizations.Type', 'Branch')
    Try
    {
    orgManager.createOrganization (hmorgDetails);
    } catch (Exception e) {}
    System.out.println (e. getMessage())
    e.printStackTraceQ;
    }
    return;
    }
    }

    and my definition of post processing:
    <? XML version = 'l.O' encoding = "uTF - 8"? >
    < eventhandlers xmlns = "http://www.oracle.com/schema/oim/platform/kernel."
    xmlns: xsi = "http://www.w3.org/2001/xMLschema-instance".
    xsi: schemaLocation = "http://www.oracle.com/schema/oim/platform/kernel%2dorchestrat-jon."
    -hand] ers. XSD">
    <! - custom preprocess event handlers - >
    < entity-type of the action handler = operation 'Organization' = 'CRΘER. '
    Class =' ' corn.corp.AutoCreateRoles
    name = 'Run in creating org'
    Stadium = "post-processing".
    order = "2000".
    Sync = "TRUE" / >

    Try to use OrganizationManager service class in your java code instead of the tcOrganizationOperationsIntf inheritance. Which should trigger the event handler. Recently, I had a problem where using the EntityManager on user has not triggered the eventhandler but only when using the UserManager triggered it.
    It would be possible only when you are using the legacy API, a new orchestration is not produced, and therefore the event handler is not called.

    -Marie

  • Error in the post process event handler

    We should write a process post event handler that updates the field Manager. So, I used the following code to update the Manager field when a user is created:

    Code:

    public EventResult run (long processId, long eventId,
    Orchestration of the orchestration) {}
    System.out.println ("Test for the event handler");
    Try
    {
    Take string = getUserKey (processId, orchestration);
    System.out.println ("USERKEY1" + take);
    UserManager userMgmt = Platform.getService (UserManager.class);
    System.out.println ("USERMANAGEMENT" + userMgmt);
    System.out.println (userMgmt.modify (User (take))) of new;
    userMgmt.modify ("usr_mgr_key", "28", new User (take));
    System.out.println ("USERKEY2" + take);


    } catch (ValidationFailedException e) {}
    System.out.println ("Exception1");
    } catch (AccessDeniedException e) {}
    System.out.println ("Exception2") ;} {} catch (UserModifyException e)
    System.out.println ("Exception3") ;} {} catch (NoSuchUserException e)
    System.out.println ("Exception4") ;} {} catch (SearchKeyNotUniqueException e)
    }
    return new EventResult();
    }


    private String getUserKey (long processID, orchestration of the Orchestration) {}
    Take string;
    String entityType = orchestration.getTarget () .getType ();
    Result of the EventResult;
    result = new EventResult();
    System.out.println ("Feature Type" + entityType);
    System.out.println ("PID" + processID);

    If (! orchestration.getOperation () .equals ("CREATE")) {}
    Take = orchestration.getTarget () .getEntityId ();
    System.out.println ("UserKEY0" + take);
    } else {}
    OrchestrationEngine orchEngine = (OrchestrationEngine.class) Platform.getService;
    Take = (String) orchEngine.getActionResult (processID);
    System.out.println ("Take-1" + take);
    }
    Return take;

    }

    It compiles very well, and when we try to create a user, the user is created successfully. But the expected behaviours of the upadting field Manager with the key to the user '28' are not the case. My highest approach: is it good or is there another method that will make it work?

    The output message I see is:

    Test for the event handler
    TypeUser entity
    Process ID140343
    Take-1613
    USERKEY1613
    USERMANAGEMENToracle.iam.identity.usermgmt.api.UserManagerDelegate@75ecf9ed
    < 27 February 2012 10:56:41 hours GMT > < WARNING > < oracle.iam.callbacks.common > < ARA-2030146 > < [CALLBACKMSG] are present for this eventhandler async to policies? : false >
    oracle.iam.identity.usermgmt.vo.UserManagerResult@14da2ada
    < 27 February 2012 10:56:44 hours GMT > < error > < oracle.iam.identity.usermgmt.impl > < ARA-3051212 > < an error occurred when searching for users -: [usr_mgr_key]. >
    Licence4


    Thank you
    Krish

    I hope that the incorrect coding.
    Use this code.

    UserManager userMgmt = oimClient.getService (UserManager.class);
    Attribute to change
    HashMap atrrMap = new HashMap ();
    atrrMap.put ("usr_manager_key", Long.valueOf("1")); the user will be updated with key Manager 1 (xelsysadm) make sure usr_key 1 (Manager) are in IOM.
              
    get the user you want to change
    User user = userMgmt.getDetails ("usr_key", "41", null);
    User = new User (String.valueOf (user.getId ()), atrrMap);
    Result UserManagerResult = userMgmt.modify ("usr_key", String.valueOf("41"), user);
    UserManagerResult str = userMgmt.modify ("usr_mgr_key", "111", new User ("41"));
    System.out.println ("UserUpdate.Process ()" + result.getStatus ());

    Also do not use the UserManager class, he can go for a loop.
    Use
    EntityManager entityManager = Platform.getService (EntityManager.class);
    entityManager.modifyEntity (orchestrationTarget.getType (), take, mapAttrs);

    I assume you want to use the manager associated with use of the user cases.

    Thank you
    Kuldeep

  • Global event listener

    Hi all

    I have a question about the GlobalEventListener that may seem a little silly. First of all let me enumerate what I have:

    JDE 4.7.0.41

    BlackBerry Storm.

    The event capture works perfectly fine in my code. So my question is how the content of "obj0 & obj1" in the eventOccurred method?

    The eventOccurred seems to fire multiple times for the same event ID, so I wanted to check the content of the obj0 & obj1 for more details.

    Thank you much in advance.

    Here's the complete code. Please note that the GUID_TIMEZONE_CHANGEDis used as an example.

    ' public void eventOccurred (long guid, int, int data1, Object obj0, Object obj1 data0)
    {
    String gid = Long.toString (guid) .trim ();
    If (gid is net .rim .device .api .util .DateTimeUtilities .GUID_TIMEZONE_CHANGED)
    {
    Dialog.Alert ("GUID =" + gid + "-Object0 =" + obj0.toString () + "-Object1 ="+ obj1.toString () ');

    }
       
    }

    Sean.

    for events that you do not send yourself, you can determine the class of the argument by calling getClass(). If it is an accessible class you can cast the object itself and use it as it seems appropriate. Some events will probably use internal classes, you cannot access those.

  • Post an event customized with jsp portlet

    I have a portal page that contains a portlet to jsp and a few other portlets.
    The jsp has several links and when you click on the links and the page is redrawn on the portal, I want the fire jsp portlet to which other portlets to the page may respond to events.

    To achieve this, I have attached a backup file to a portlet to jsp and I have a custom event triggered (from the handlePostBack method) when certain conditions are met. The problem is that the handlePostBack method is not called in the life cycle jsp portlet (only init() and preRender() and destroy() are called). I realize that it is possible that URLS do not have the _nfpb parameter defined. I tried adding that the link url - but no luck.

    Someone will direct me as to what is the problem with the configuration described above.

    RAM memory.

    Hello Ram,

    You don't want to specify the path in your URL at all when you use one of the URL tags; If you want to add a parameter such as "cmd = 4", use the tag "render: param ' (inside the PostbackURL tag) to add parameters. The tag PostbackURL will get 'magical' the correct path to your portal and includes all the parameters "_nfpb" as well.

    Kevin

  • GlobalEventListener: to distinguish between system module and gui entrypoint

    Hey. I have an application with a system module that should always run and a gui with a EULA entry point. Once accepted the EULA, I want the gui to close application and the module of the system to begin running. (It works on battery pull, but the goal is to avoid asking the user to do).

    eventOccurred in GlobalEventListener fires twice, I guess once for the module of the system and once for the GUI. Two apparently weird things happen. First of all, when I use a global boolean to make a distinction between the sysmod and GUI, GUI screen is stuck and the sysmod seems to be exited. (Or I tried passing the processid of the sysmod and just exit with a different id - the GUI.) Same effect).

    Then when I remove the and check only for the guid of the global event, the eula, the sysmod screen farm stop logging but an icon of the application with the generic blue icon are still there in the app selector (hold the menu button).

    All I want to do is start the system module and close the EULA gui, so that the user need not cold start. Thanks for your time... code below. J.

    class MDB extends UiApplication implements GlobalEventListener 
    
      boolean thisIsSystemModule;
    
        // In main(  )
    
            if (arg0.equals("gui")) {
    
                globalMDB = new MDB();
                globalMDB.SetSystemModuleFlag(false);
                globalMDB.addThatGlobal();
        }
            else if (arg0.equals("activatesysmodandexitgui")) {
    
                MySystemListener msl = new MySystemListener();
                globalMDB = new MDB();
                globalMDB.SetSystemModuleFlag(true);
                globalMDB.addSystemListener(msl);
    
                globalMDB.ScheduleNextBackgroundChange();   
    
                    String logMessage = "MDB has both setup and scheduled a bg change.";
                    EventLogger.logEvent(0x4c9d3452d87922f8L, logMessage.getBytes(), EventLogger.ALWAYS_LOG);
                        System.out.println("\n\n>>" + logMessage);
    
                // post global event for eula to listen to and close
                globalMDB.addThatGlobal(); 
    
            //// Event ID comes from MDB.Start.System.Module.And.Close.EULA.GUI  0x5395aca2ff6df828L
                ApplicationDescriptor appDescriptor = ApplicationDescriptor.currentApplicationDescriptor();
                int smprocessid = ApplicationManager.getApplicationManager().getProcessId(appDescriptor);
    
             ApplicationManager.getApplicationManager().postGlobalEvent(0x5395aca2ff6df828L, smprocessid, 0);
    
                globalMDB.enterEventDispatcher();
        }
        else {
            // code for battery pull
        }
    
        private void SetSystemModuleFlag(boolean flag) {
    
            thisIsSystemModule = flag;
    
        }
    
        private void addThatGlobal() {
    
            addGlobalEventListener(this);   
    
        }
    
        ////  Called when user accepts the eula. EULA is gui entrypoint. I want the gui app to exit and leave just the system module
    
        private static void StartSystemModule() {
    
                int modHandle = CodeModuleManager.getModuleHandle("MDB");
                ApplicationDescriptor[] apDes = CodeModuleManager.getApplicationDescriptors(modHandle);
                ApplicationDescriptor appDescriptor = new ApplicationDescriptor(apDes[1], new String[] {"activatesysmodandexitgui"});  // we want the system module
    
                try
                {
                    ApplicationManager.getApplicationManager().runApplication(appDescriptor);
                }
                catch (Exception e)
                {
                        System.out.println("\n>> Problem starting system mmodule\n");
                }
    
        }
    
    public void eventOccurred( long guid, int data0, int data1, Object object0, Object object1) {
    
            //Is this the GlobalEvent we are waiting for?
            //Long = com.samples.globalEventFiring.GlobalEventFiring
            ApplicationDescriptor appDescriptor = ApplicationDescriptor.currentApplicationDescriptor();
            int thisprocessid = ApplicationManager.getApplicationManager().getProcessId(appDescriptor);
    
            if (guid == 0x5395aca2ff6df828L)  //  !thisIsSystemModule &&         data0 != thisprocessid &&
            {
                    System.out.println("\nEvent received, eula exiting now.");
                    System.exit(1);
            }
    }
    

    Hello. The whole situation turns that arose because despite searching, I was not in the current Modules of the system to start when the application is installed (or opening). I knew only that they were running at startup, then in the absence of a way to start them from code, I asked users to cold start their phones!

    Although I do not understand what caused this error, it might have something to do with the planning of a timer job or adding a listener to an instance of the application system, and then exit the application before the timer is due to run it. Could someone with more understanding fill in us, on what it would do, but unless there is another way, I wouldn't do it.

    The solution was to do nothing. Delete all of the code to start the module of the system. And the other thing of smaller was to detect whether the instance is the module of the system or the gui entry point, Yes, you can use a global var but not a static. In acceptsForeground, you just check this global var defined in the hand and to be sysmod, false return.

    Will seek some of the discovered books recently, in order to aim to post 2 days a week only I think that in the future.

    TKS

    J

  • Disabling Menu or a process running at the fence post event

    Hello

    I need to input what bright room is closing is possible to do it with a certain kind of plugin?

    Or is it all the same to disable the 'x' in the upper right corner and in the menu "exit"?

    I would make a Post Process Event at the end of a session of lightroom.

    If someone has a way to accomplish this or it would be very useful

    Thanks Mike

    There is no support for this in the SDK.

  • GlobalEventListener on the events of browser does not (does nothing)

    Hello

    I have read all the post I could find on the global event listeners, but still did not solve my problem.  I need to listen to a global event displayed by the default browser (specifically the one displayed when navigation is complete).  This works very well in the Simulator (using 5.0.0.50 9 on a 8520), but no luck on the real device (running the same specification).  My application runs as a background process.  I tried to also create a UiApplication to listen to and to inform me of world events - this also works in the Simulator, but not the camera.  Other parts of the code works fine.  I checked the permissions (my application both the browser has done everything to ALLOW).

    I use Blackberry JRE 5 with the Eclipse plugin.

    I noticed that if I put the safety on the Simulator, global browser events are no longer perceived.

    I would really appreciate help with this.

    @abhigupta: the only way I know to interact with the default browser as it uses the class HttpFilterRegistry.

    "The HTTP API (net.rim.device.api.io.http) filter allows an application save with the.
    browser as a supplier for a specific URL. When users type in the URL, the battery connection is
    rerouted to the specified application.

    I'm not aware of any other way to interact with navigation applications in a browser.

    @darthdassie

    Apologies, slipped off my mind...

  • How to use mouse events?

    I've not thought its going to be hard but after snooping around in the library for help, I decide to post my question here:

    How do you use mouse click event in the action script to locate the mouse coordinate.

    That's what I tried to do.

    <? XML version = "1.0" encoding = "utf-8"? >

    < mx:Application

    " = xmlns:mx 'http://www.adobe.com/2006/mxml" layout = "absolute" "

    width = "100%" height = "100%" backgroundColor = "#eaf1f6."

    backgroundGradientAlphas = "1.0,1.0.

    creationComplete = "init ()" "

    >

    < mx:Script >

    <! [CDATA]

    Import mx.effects.Move;

    Import mx.controls.Alert;

    private function init (): void

    {

    mouse = new Sprite();

    mouse.addEventListener (MouseEvent.CLICK, mouseEvents);

    }

    private void mouseEvents(e:MouseEvent):void

    {

    Alert.Show ("I'm alive");

    }

    ]]>

    < / mx:Script >

    Now where did I got wrong?

    Hello

    If you want to monitor all mouse clicks in your Application

    regardless of which object, this event has been dispatched, then you can add

    global event on your main Application like this listener

    Application.application.addEventListener (MouseEvent.CLICK, mouseEvents);

    or in your Application tag like this

    http://www.Adobe.com/2006/mxml"layout ="absolute ".

    Click = 'mouseEvents (Event)'

  • the event of an event queue display?

    I'm looking for a way to post an event in the event queue.

    I found the QueueUserEvent() function but seems only works in conjunction with GetUserEvent(). I don't want an another queue, I want to put the event in the queue as well as all of the user interface. is there a way to do this?

    Maybe someone knows a way to trigger the EVENT_COMMIT or the EVENT_VAL_CHANGED of a chain control after changing the value of the control programmatically?

    You can use CallCtrlCallback () immediately after programmatic change of the value of the control. If the immediate convening of this function within the same routine, which updates the control is not correct, you can define a special function for Update call with (PostDeferredCall), which is executed after the call to the function ends.

    (Well, really we could simply call the recall of control by passing appropriate values: it's a bit rough but not forbidden.) CallCtrlCallback retains the chaining of reminder of the control, in case you used)

  • My Administration event log is 8000 + and new errors every day. Windows Explorer stops responding, how can I stop this?

    OT: my Administration event log is 8000 + and new errors every day. How can I stop this?

    My ACER laptop running VISTA family premium has many errors I do not understand why and don't know how to stop.

    Is how important it? Is this normal? Should I post each event with details to see if it can be interrupted?

    For example my lap top works generally OK but Explorer windows (explorer.exe) crashes with a message that it fails and restarts. The error code and events are

    Error 01/03/11 10:04:22 Application Error 1000 (100)

    Application Explorer.EXE, version 6.0.6002.18005, time stamp 0x49e01da5, module MSVCR80.dll, version 8.0.50727.4053, time stamp 0x4a594c79, exception code 0xc000000d, offset error 0x00008aa0, process id 0 x 624, failed failed application start 0x01cbaad15a2d1273.

    Thanks if you can help

    Hi Tricsim,

    Since when are you facing this problem?

    There could be several causes for this problem; I suggest you try the following steps to correct the problem:

    Method 1: Auditor of file system (CFS) scan to fix all of the corrupted system files. To do this, follow the steps mentioned in the link below:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

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

    Method 2: Put the computer to boot and then check if the problem persists

    Follow step 1 in the link below,
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    If everything works well after a clean boot, you can deduce that some third-party services are at the origin of the problem.

    Continue with the remaining steps to pin-point on the third party service.
    After find you the program that is causing the problem, you will have to perhaps to update or install a newer version of the program, if you rarely use that you should consider uninstalling the software.

    Important: n ' forget not to put the computer to a normal startup follow step 7 in the link.

    Method 3: You can follow the steps described in the article below

    Error message when you log on to Windows Vista: "Windows Explorer has stopped working".

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

    Thanks and greetings
    Ajay K
    Microsoft Answers Support Engineer
    ***************************************************************************
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • 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.

Maybe you are looking for

  • Problems after restoration

    I just got a 5 s Iphone I restored it from a backup of my Iphone 4 and everything said this worked. The phone has all my data but when I stop and start up it goes through Setup all over again asking English this and asking where to restore them again

  • Windows 7 / windows update

    so, today, you guys released September security updates, but I've never had KB 981550 KB 2124261 KB 2271195 and here is what I got update security for windows 7 2347290 Ko Security for the 2007 microsoft office system kb 2288621 update Software Windo

  • mSATA SSD

    can I increase the capacity of the msata ssd in my hp envy ultrabook 4-1002tx who have installed at the factory 32 GB samsung msata ssd for the rapid start. Can I change help me.

  • Import of Contact software blackBerry including friends on facebook

    Looks like I have a lot of facebook friends mingled with my regular contacts. I don't want my facebook contacts on my phone. How can I unsync them without having to manually delete them one at a time. There are more than 500 I want to delete.

  • Separate Photsmart print head?

    Should I understand that the new HP Photosmart printers have separate printhead contained in the ink cartridges?  I read some comments that there is a print head problems. I am not mistaken the old cartridges (96,97) had the printhead on the cartridg