How to access my application UI of another point of entry?

I have a user interface with another application entry point. In the other entry point, I put the fix times and always check this time around (using RealTimeClockListener). If the smartphone to go at this time, it will grow a screen of my application user interface. And he pushed successfully. In this screen have an ex "New button" button, usually when I run my application user interface and click it, it will push a new screen.  But in this case, when the screen is pushed to the other entry point, I can't do action on this screen, I click on "new"button and no display of thing...

How can I solve this problem?

You can use a shared in the store of runtime service. or after a global event.
ApplicationManager allows to validate a global event and register a GlobalEventListener with your application class to listen to it.

Tags: BlackBerry Developers

Similar Questions

  • How to access Oracle Applications 11i Virtual Machine (Vmware Player) forms?

    Hello

    I installed Oracle Applications 11i on native OS OEL5 Server and XPP Windows on the virtual machine using Vmware Player on stand-alone desktop. Now how to access Oracle Applications 11i VM (Windows XPP)?

    Thank you to

    The respect of
    Rerry

    Hello

    Same as you access other customers ebiz.

    Add entries in the same winxp(vmware client) host file that u did on the ping server and check for ebiz ebiz Server works very well with the hostname and hostname.domainname.com

    If the ping does not work then you need to fill the adapter from winxp to vmware for the physical NIC of ebiz machine.check below link to fill
    Maybe this will help you

    http://communities.VMware.com/thread/28295

    Concerning

  • Running the background (sms listening thread) connected to the GUI (another point of entry) application thread

    Hi, I'm new to the development of Blackberry, I read everything on the application running at startup and have a different point of entry for this application. I still need help with my application

    I use BB JDE 4.7

    Simulator: BB 9530 4.7.0

    I'm developing an application of SMS. (extends UiApplication)

    1) there is a thread that listens for incoming messages

    2) there is a wire which is a SMS sender

    3) there is a main screen and two full screens. for example, when the user clicks a button in one of the screens full... I send you a message

    (4) when a message is received, based on the content of the message I push either a full screen

    (5) I have, all the wires and screens as the class internal to the main class that extends from the UiApplication.

    I got the basic features. I need help making that demand the application of autostartup

    (1) I need to start listening to the sms thread when the BB phone starts

    (2) I need to have the application icon in the applications screen as another entry point for the application (only for the GUI), and the listening thread must remain active in the background.

    (3) when an incoming message is detected, the application GUI should be brought to the foreground (if it isn't already forground) after posting a popup (instead of bring the application to the foreground, is it better to display a flashing icon in the status bar of the home screen blackberry and perhaps global popup)

    (4) when the GUI of the application part is closed, I need to stop the sms sending thread, and when the system shuts down, I need to stop the listening thread.

    Please help me guys... I have read many articles and discussions regarding the automatic start-up of applications, another point of entry, the # of background threads...

    but I couldn't find how to implement my needs.

    (1) should I need to create two different projects (applications [GUI thread, a sender] and one for the listening thread)? or I can achieve in single application?

    (2) should I have to sign in the background thread to the GUI app? If so, how?

    (3) it is necessary to use the RunTimeStore object? If so, I don't know how I can bring to the foreground the application GUI of the background thread.

    (4) if I have to stop the thread of listening by overiding onExit() method, the important question I have is, if the onExit() method is only for applications that extends from the Application class and not for the UiApplication class?

    (5) if I should have two projects (one main and the other as a spare point entry), which project should I do as "autorun at startup" and a "system module".

    As I need to have the background still running thread when the GUI application is active. I don't know how I do.

    Hello world...

    I reached my needs thanks to a single application. I used an other entry point.

    To refer to chk my other post

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-avoid-creating-two-instances-of-the-a...

  • How to access Oracle Applications 11i forms using Vmware Player?

    Hello

    I installed Oracle Applications 11i on native OS OEL5 Server and guest OS Windows XPP using Vmware Player.Now how to access forms Oracle Applications 11i XPP Windows using Vmware on my desktop to server OEL5?

    Thank you to

    The respect of
    Rerry

    Hello

    If you mean how to access the e-Business Suite from the virtual machine, and then you just navigate to the same URL as you would normally. You may need to put the alias of the machine in your hosts file if you reference it via the name of the computer rather than the IP address.

    If you mean you want to load the form in the form designer (for example) then you will need to FTP the form from the server to the client (as you normally would), then open it in your client (XP virtual machine).

    If you want to use the workflow designer (according to your initial condition) then you must ensure that the TNSNAMES.ora file in workflow Home Builder has an entry for your instance on Linux, and then you should be able to connect to the database directly.

    HTH,

    Matt
    -----
    WorkflowFAQ.com - the independent resource ONLY for Oracle Workflow Development

    Review alpha chapters of my book "developing with Oracle Workflow" are available through my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Thread in another point of entry of spawning

    I'm looking to develop an application that has a background service and a front end GUI (2 points of entry).  I understand how to have a runtime shared store so that the GUI can access data/events from the basic service.  But how do I generate a thread in the background entrypoint, while in the entrypoint GUI.  Should I call app.invokeLater () on the background application?  Is - illegal to do if you're not in the context of this application?

    Send your background request a notification using the global event.

    invokelater on the instance of the application should also work, but seems a little dirty to me

  • How to stop an application running in another application.

    Hi, good evening.

    My requriement is that I have an application called 'has' is a 'feature to run automatically at startup. so, when I start my device or an emulator it will start automatically and now I want to stop the application from other applications at any time.

    How to fix this? Please guide me something because it is very urgent for me.

    Use GlobalEvent and GlobalEventListener.

    Running application implemements a GlobalEventListener and listening to a particular global event.

    Another application is to launch a global event to stop this application running.

    Running application gets this events and stops.

  • How to access controller Application?

    I do the Java for decades, but am a beginner FXML. Currently, I do FXMLLoader.load (fxmlFile) in Application.start (), which works well. My instance of the Application creates a background in Application.init () thread that feeds on several properties of custom application with incoming data from a remote model (encapsulating a hardware). Later, some of my windows must be able to access these properties. So the question is: How can I inject my instance of the Application in bodies established by FXMLLoader automatic controller linked to bodies established by FXML scene?

    Create an instance of the loader, rather than using the static load method.

    After you load your fxml, get your controller to your loader instance.

    Add an API to the joystick to set the application referencing him.

    Call your API setApplication on your controller to store a reference to application in the controller.

    See:

    di - passing parameters JavaFX FXML - Stack Overflow

    public Stage showCustomerDialog(Customer customer) {
      FXMLLoader loader = new FXMLLoader(
      getClass().getResource(
       "customerDialog.fxml"
       )
      );

    Stage stage = new Stage(StageStyle.DECORATED);
      stage.setScene(
       new Scene(
       (Pane) loader.load()
       )
      );

    CustomerDialogController controller =
      loader.getController();
      controller.initData(customer);

    stage.show();

    return stage;
    }

    ...

    class CustomerDialogController() {
      @FXML private Label customerName;
      void initialize() {}
      void initData(Customer customer) {
      customerName.setText(customer.getName());
      }
    }

  • How to access the applications menu of photo editing Photo editing

    How do you get Macphum Creative Kit mounting application via the menu of photo editing?

    Then I use that tone, but it was easy to install:

    -Make sure you have osx version 10.11

    -To open the pictures and click on 'edit '.

    -get off at extensions and click on 'more '.

    -in the pop-up window, click on 'all' and select the extensions that you want to save photos.

  • How to access attribute value of an another VO using groovy?

    Hello, I am using JDeveloper 11.1.2.3.0

    I read a lot of information about it, but still miss me something. I'm trying to set the value of a variable of liaison through the Groovy expression in my VO. I want that this variable binding

    for the value of an attribute of an another VO. I tried "adf.object.MyAppModuleImpl.findViewObject('Users1').currentRow.Iduser"

    I'm ' oracle.jbo.expr.JISyntaxError: MyAppModuleImpl Variable not recognized. " I tried with "MyAppModule" only, but the result is the same.

    Can anyone help please?

    Thank you

    In the t where variable binding is defined, add accessor seen at the second VO (from anywhere make profitable) and name it "SecondVO" for example.

    Then, for the binding variable, set more expression:

    SecondVO.currentRow.Iduser

  • Bring the app to the forefront of another point of entry that runs in the background

    in my case, I have two entry point is main which is used ti open ui and the other who work in the background to receive the push. I'll call you

    Application.getApplication () .requestForeground ();

    to bring the app to the first plan but it create instance of the application and opens the app I don't want this, I want the main application to be in the foreground, any help please...

    Please click on these links to open and transfer data from main application context.

    1)

    http://StackOverflow.com/questions/11555165/BlackBerry-alternate-entry-point-start-app-from-backgrou...

    2)

    http://StackOverflow.com/questions/11582112/BlackBerry-how-to-transfer-data-from-background-to-main-...

  • Added that another point of entry but now cannot request signatures

    I added a project in my workspace to be used for another entry point that will 'init' for the main project to add backup / restore features of my persistent data. However, since the addition of this project the opportunity to "Request for signatures" to sign my application is greyed out.
    I followed the instructions in the guide to the BlackBerry Developer about adding a project to a different entry point.

    Serving as alternative entry point is in the same workspace as the right of the main application? If I remove the new menu item entry alternative app to request signatures returns to normal.

    Well, I don't understand what the problem was, but I solved this by doing a new workspace and adding 2 projects. I couldn't make it work with the existing my original project workspace.

  • Another point of entry without rebooting

    I have an application with two possible main objects:

    • UiApplication, foreground process, we call it FG_UIApp
    • Application of the background process on the auto-run-start, we call it BG_App

    For debugging, I want to kill the BG_App by sending a FG_UIApp GlobalEvent. OK, it works perfectly. Now, the BG_App does not work. It doesn't work anymore, when I do a full reboot. But now I would like to be able to start the BG_App again without rebooting. I thought in a way like this:

    1. the user clicks on the application
    2. now check if BG_App is running, when it doesn't work, just start it
    3. for the user nothing happens, so he will again click on the app
    4. now, checking, if BG_App is running-> it works, so now we can start FG_UIApp

    To do this, I've implemented the following code. Step 1 + 2 work, but when I do the step 3 the debugger tells me, that my application is already running. Is it possible to simulate the autorun entry point without having to reboot?

    public static void main(String[] args) {
      boolean startbackground = false;
      if ( args.length > 0 && args[0].equals("autostart"))
        startbackground = true;
      else {
        boolean runtimestorevalues_are_existing = false;
        // checking some values in the runtime-store,
        // which are set by BG_App    // if these values, don't exist, we start
        // the background-process
        if (!runtimestorevalues_are_existing) startbackground = true;
      }
    
      if (startbackground){
        new BG_App().enterEventDispatcher();
      }
      else {
        new FG_UiApp().enterEventDispatcher();
      }
    }
    

    Best regards, Anil

    Hello Mark!

    After playing with the ApplicationDescriptor change, it works. The solution is here:

    /*my cod-module is called fooin my jde I have 2 projects - foo (the gui-application, called with no arguments) - fooautostart (the backgroundapp, called with the argument "autostart",     it is generally called, when the device is booting)*/public static void main(String[] args) {if ( args.length > 0 && args[0].equals("autostart")){  new BG_App().enterEventDispatcher();}else {  RuntimeStore rts = RuntimeStore.getRuntimeStore();  boolean runtimestorevalues_are_existing = false;  /*  now checking some values in the runtime-store,  which are set by BG_App; if these values, don't exist,  we have to invoke the background app in simulating the  startup-entrypoint;  */  if (!runtimestorevalues_are_existing){    try {      int modHandle = CodeModuleManager.getModuleHandle("foo");      ApplicationDescriptor[] apDes =        CodeModuleManager.getApplicationDescriptors(modHandle);      String[] args_for_descriptor = {"autostart"};      ApplicationDescriptor descriptor =        new ApplicationDescriptor (apDes[0], "fooautostart", args_for_descriptor);      ApplicationManager.getApplicationManager().runApplication(descriptor);
    
        }    catch (Exception e){      System.out.println("background start exception ex: " +         e.toString() + ": " + e.getMessage();    }  }  new FG_UiApp().enterEventDispatcher();}}
    

    Thanks and best regards to Canada.

    Anil

  • How to access page aplication module of dynamic region?

    Hello

    I have a main app with the shared library. Page.JSFF (from the main application) contains dynamicRegion. Task flow for this dynamicRegion I defined in library shared sessionBean. I need call commit action in the main application for the data in a dynamic region.

    How to access the application module or binding operation for page of workflow dynamic region?

    I try to do this:

    BindingContainer bc is BindingContext.getCurrent () .getCurrentBindingsEntry ();.

    DCTaskFlowBinding dtb = (DCTaskFlowBinding) (bc) .findExecutableBinding ("dynamicRegion1") (DCBindingContainer);

    System.out.Print ("" + dtb.getViewPort().getViewId()+"\n"); -return id correct view

    Form JUFormBinding = dtb.findExecutableBinding ("test5PageDef") (JUFormBinding);

    DCBindingContainer dcRegion = form;

    OperationBinding o = dcRegion.getOperationBinding ("Commit");

    o.Execute ();

    but the result is NullPointerException

    Jdev 11.1.2.4

    Thank you

    Hello

    Try this:

    BindingContext bindingContext = BindingContext.getCurrent ();

    DCBindingContainer dcBindingContainer = bindingContext.findBindingContainer("myPageDef");

    OperationBinding operationBinding = dcBindingContainer.getOperationBinding ("Commit");

    operationBinding.execute ();

    Kind regards

    Ruben

  • How to access my voicemail from another phone?

    My Iphone is stuck in reboot mode (the logo remains on the screen) and when I connected to itunes and tried the update, I got error message 4013, saying that it cannot be updated and I need to restore. Is there another way to fix it without having to restore and lose all my data?

    You have asked two different questions here. If you receive an error 4013, then take a look at this document of support for the troubleshooting steps.  If you see the 9-4005, 4013, 4014 error when you restore your device iOS - Apple Support

    With regard to access to your voicemail from another phone, you must talk to your cellular operator and know how to access voicemail from another phone. They control the voice mail and would be able to explain their procedures, if you don't find anything on their website. It usually requires that call you your phone number, then press a series of buttons to enter your password to enter the voicemail server.

  • How to access a shared file on my RN212 NAS remotely from another program?

    I've looked everywhere trying to find how to access a shared file on my RN212 NAS remotely from another program (kodi) on my iPhone 6 more remotely, away from home. I tried to FTP, UPnP, HTTP, etc. anything and it's driving me crazy! I run the program kodi from my phone for watching videos stored on my SIN, I have a router NightHawkR7000 and believe that I am fairly warned to get this figured out, but apparently not lol I have all the correct ports forwarded, but perhaps I'm missing a step somewhere. Any help on this would be much appreciated!

Maybe you are looking for

  • HP Scanjet 4300C compatibility with Windows 7

    I did an upgrade from Windows XP to Windows 7 and my scanner HP Scanjet 4300C seems to be properly installed in Windows 7, but nothing happens when I try to scan. In the Panel, the Scanner seems to work, but when I try to add a scanning profile I get

  • Contacts - content/fonts too small

    Please update the Contacts to enable to increase the font size of the content, or increase the size of the window and its contents, no zooming or changing the screen resolution.  I have this big beautiful screen and cannot expand contents or fonts in

  • HP ProBook 450 G2: Hello Windows 10

    I am unable to install the Windows 10 Hello! so the question is... Is it possible to implement at all on the HP ProBook 450 2! It allows me to start with the game, but when it comes to capture the face/photo, it does nothing! someone has an answer! T

  • Help to configure Cisco VPN configuration

    Hi guys,. I need help in the configuration of the VPN from Cisco IOS. Basically, we have 2 routers of cisco 1811 in our society. Router 1 - router (IP 192.168.x.254) of Production Router 2 - router VPN (IP 192.168.x.251). All computers/servers within

  • A particular image download and been fresh twice

    HelloI was downloaded an image #50428088 twice already, and was charge me but won't download the image. I made 2 other images of license and work without problem. Is there a way to get the 50428088 credit # as does not work.