The application menu, calling other applications

Hello

I'm with the following situation:

I have an application that will call the other applications, but each time I have called another application and request a new connection, how do I use authentication even the first request and transmits to the other?

Thank you

Márcio Goncalez

Mag.goncalez wrote:
Hello

I'm with the following situation:

I have an application that will call the other applications, but each time I have called another application and request a new connection, how do I use authentication even the first request and transmits to the other?

See + {: identifier of the thread = 515240} + for the basic technique and the present statutes Oracle Magazine for extended examples:

  • Create a custom authentication
  • Build a framework for Menu

    Note that the APEX has an integrated model of publication and subscription. You create a 'master' application publishable elements such as authentication schemes, LOVs and models. Theme templates are created, maintained and published by means of this application, and other applications of reference standard by subscription to the main application. Changes may be expelled from the main application to all subscribing applications.

    To avoid having to recreate the subscriptions when creating new applications you can have a startup application with all subscriptions set up, then copy this request as a base line when you want to create a new.

    Note that the model of publication-and-subscribe-you only works in a single workspace.

    Unfortunately, the documentation is not exactly complete on this function...

    -----

    This is a frequently asked question and there are a number of previous discussions on it. Please visit our forum carefully for previous coverage of a topic before posting a new question. Most of the questions that newcomers have been asked (and answered) many times before.

  • Tags: Database

    Similar Questions

    • Press the BlackBerry menu call

      Hello

      I want to call the menu when the user click on the BlackBerry button (this button is enabled BlackBerry 8800, which shows the full menu). I am able to display the menu by using the wheel, but don't know how to substitute for BlackBerry button.

      Thank you

      yosoh.

      OK, I solved the problem by using super (DEFAULT_MENU) in the constructor of my class that extends PopupScreen.

    • Options from the context menu and others endangered.

      When I right click on a file and want to create a shortcut on the desktop after moving the cursor on "send to", the "desktop (create shortcut)" is not there.

      When I run the Task Manager, 'Show processes from all users' is unchecked (there is a button for this). Is this normal or is - this effect malware or so? These are disappearances only two notables. I'm sure there are many others.
      If it's due to malware, how should I do?
      Thank you!

      If you look in 'C:\Users\\AppData\Roaming\Microsoft\Windows\SendTo' is "desktop (create shortcut)" listed?

      If is not is it the default value to "C:\Users\Default\AppData\Roaming\Microsoft\Windows\SendTo"? If it is there, just make a copy of one to the other.

      If it fails again, so if you create a new user account that has the option? If so copy it since. Or what can help more - http://www.sevenforums.com/tutorials/45421-send-context-menu-remove-restore-default-items.html?filter [2] = context % 20Menu

      Not show what you mean exactly about "show processes from all users". On my task manager, it's there as a button, but you have to click on it (and then enter the administrators password) to have show all processes from all users.

      If you suspect you may have malware, update your Anti Virus package and run a full scan. Then download, install, update and run a scan complete with Malwarebytes(free), like a scanner at the request.

    • Unable to connect to online help when using windows help and support via the start menu and other programs that connect to online help in addition to the built in help. I have no problem online.

      "you are not connected to online help, that introduces you to our latest content. Check your internet connection and then again connect to online help. If you see this message, the online help service may be temporarily unavailable.

      • You have problems with programs
      • Error messages
      • Recent changes to your computer
      • What you have already tried to solve the problem

      Remember - this is a public forum so never post private information such as numbers of mail or telephone!

      OK after rebooting in safe mode and try to help online which worked. I stop, rebooted and worked in the online help. He has never before. Turns off again, installed 27updates windows assistance online dhte still works!

      Worth a try?

    • Close and notifyDestroyed, just send the application in the background

      notifyDestroyed sends just my MIDlet in the background, but the application is still running. Further more, choosind close on the BB menu (called by pressing the push to talk key) also does not close the application. What I am doing wrong?

      Ok. Finally fixed it!

      It seems that the PushRegistry mechanism was still alive in the background, not allowing the application to close normally. More precisely: the RIM MIDletMain.MIDletPushRegistryWorkerThread support thread has been blocked. I have no idea why, and frankly I don't have the time to investigate it. For now I just closed PushRegistry and the application closes very well.

      In my view, deserves a congratulations to do so, if only for the sake of my Ego... push... push...

      AA I understand, many people who hit similar problems, where it won't leave MIDlets on BlackBerry. So I thought I would give details on how I found the solution:

      I ran the application in the debugger in Eclipse, then leave and looked at the lily of active threads. Normally, after leaving the app, all associated threads must die. Thus, one of the remaining wires related to the app is the culprit:

    • Management of libraries of button does not appear under the Tools Menu

      The documentation available on SQL Developer Concepts and the use of the States that there is an item on the Tools menu, called "Manage libraries" in order to manage the connections databases Non-Oracle. I don't have such an item in the Tools menu.

      I'm under Oracle Sql Developer 4.0.1.14. I even tried to install an older version, and it doesn't have this option or the other.

      Any help is greatly appreciated.

      I checked my installation of JDeveloper, and this menu option is there. It is used to manage the Java libraries in general and has nothing to do with JDBC.   SQL Developer documentation is wrong.

      I already pointed you to the Preferences section to manage third party JDBC libraries and the Division helps. If you don't want that follow, then you are on your own.

      Note that DB2 / iSeries is not a third party database supported in SQL Developer.

    • Delay in the selection of the file menu

      InDesign running 11.0.1.105 on OS X 10.10.5.

      When I click on the file menu, there's ALWAYS a second from 2-4 behind, a spin fast ball of beach and then the menu opens. This happens only in the file menu; all other menus opens as expected - quickly and instantly. Is there the dynamic topics in the menu file that must be updated on the fly, from the network, etc. ? Does not include why this would happen only with the file menu. I tried this with open and no files open at all, after a reboot of the system/InDesign, without success.

      Any ideas on what is happening, what can I check?

      Try going into preferences and recent files menu the value 0.

    • How do to call the BlackBerry menu form share an Adobe Air application?

      Hello

      I'm looking for a tutorial or demo code that describes how to call the BlackBerry menu sharing an Adobe Air based application.

      I found a tutorial of waterfalls for it - there's one for Adobe Air too?
      - http://bbcascadescode.tumblr.com/post/38998702671/invoke-share-for-bb10

      This is a screenshot of the Action menu:

      Advice welcome!

      Here you go:

      package com.lib.playbook.invocation
      {
          import com.lib.playbook.controls.List;
          import com.lib.playbook.pages.TitlePage;
          import com.lib.playbook.renderers.IconListRenderer;
      
          import flash.events.Event;
          import flash.events.IEventDispatcher;
      
          import qnx.events.InvokeEvent;
          import qnx.events.InvokeQueryTargetEvent;
          import qnx.fuse.ui.core.Action;
          import qnx.fuse.ui.events.ActionEvent;
          import qnx.fuse.ui.events.ListEvent;
          import qnx.invoke.ActionQuery;
          import qnx.invoke.InvokeManager;
          import qnx.invoke.InvokeRequest;
          import qnx.invoke.InvokeTarget;
      
          public class InvokeSearchPage extends TitlePage
          {
              private var request : InvokeRequest = null;
              private var targets : List = new List();
      
              /////////////////////////////////////////////////////////////////////////////////////////
              public function InvokeSearchPage()
              {
                  super();
                  this.title = 'Search With';
                  this.titlebar.dismissAction = new Action( 'Cancel', null, {id:'cancel'} );
                  this.titlebar.addEventListener(ActionEvent.ACTION_SELECTED, ActionSelected );
      
                  this.targets.cellRenderer = com.lib.playbook.renderers.IconListRenderer;
                  this.targets.addEventListener(ListEvent.ITEM_CLICKED, TargetSelected );
                  this.targets.rowHeight = 140;
                  this.addChild( this.targets );
              }
      
              ///////////////////////////////////////////////////////////////////////////////////////////
              public function filter( request :InvokeRequest ) : void
              {
                  this.targets.removeAll();
      
                  this.request = request;
      
                  //trace( 'filter ' + request.mimeType );
                  InvokeManager.invokeManager.addEventListener( InvokeQueryTargetEvent.SUCCESS, TargetsFound );
                  InvokeManager.invokeManager.queryInvokeTargets( request.mimeType, request.uri, request.action, request.targetOptions );
              }
      
              ///////////////////////////////////////////////////////////////////////////////////////////
              private function TargetsFound( event : InvokeQueryTargetEvent ) : void
              {
                  InvokeManager.invokeManager.removeEventListener(InvokeQueryTargetEvent.SUCCESS, TargetsFound );
                  //trace( 'TargetsFound' );
                  var action : ActionQuery;
                  var target : InvokeTarget;
                  for each( action in event.actions )
                  {
                      for each( target in action.targets )
                      {
                        this.targets.addItem( { data : target.target, label : target.label, icon : 'file://' + target.icon } );
                      }
                  }
              }
      
              ////////////////////////////////////////////////////////////////////
              private function TargetSelected( event :Event ) : void
              {
                  if( this.targets.selectedIndex >= 0 )
                  {
                    this.request.target = this.targets.selection;
                    InvokeManager.invokeManager.invoke( this.request );
                  }
              }
      
              ////////////////////////////////////////////////////////////////////
              private function ActionSelected( event :ActionEvent ) : void
              {
                  switch( event.action.data.id )
                  {
                      case 'cancel' : this.dispatchEvent( new Event( Event.CANCEL ) ); break;
                  }
              }
      
              //////////////////////////////////////////////////////////////////////
              override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
              {
                  super.updateDisplayList( unscaledWidth, unscaledHeight );
      
                  this.targets.setPosition( 10, this.top + 10 );
                  this.targets.setActualSize( unscaledWidth - 20, unscaledHeight - this.targets.y - 10 );
              }
          }
      }
      

      And the rendering engine:

      package com.lib.playbook.renderers
      {
      
          import qnx.fuse.ui.display.Image;
          import qnx.fuse.ui.listClasses.CellRenderer;
      
          public class IconListRenderer extends CellRenderer
          {
      
              private var icon    :Image = new Image();
      
              /////////////////////////////////////////////////////////////////////////
              public function IconListRenderer()
              {
                  super();
              }
      
              ///////////////////////////////////////////////////////////////
              override protected function onAdded():void
              {
                  super.onAdded();
                  this.addChild( this.icon );
              }
      
              ///////////////////////////////////////////////////////////////
              override protected function onRemoved():void
              {
                  super.onRemoved();
                  this.removeChild( this.icon );
              }
      
              /////////////////////////////////////////////////////////////////////////////////////
              override protected function drawLabel(unscaledWidth:Number, unscaledHeight:Number):void
              {
                  super.drawLabel( unscaledWidth, unscaledHeight );
      
                  if( this.data )
                  {
      
                      if( this.data.hasOwnProperty( 'icon' ) && this.data.icon != null )
                      {
                          this.icon.setImage( this.data.icon );
                          this.icon.setPosition( 10, 15 );//( unscaledHeight - this.icon.height ) / 2 );
                      }
                      else
                      {
                          this.icon.setImage( null );
                      }
      
                  }
      
                  this.label.x = 140;
                  this.label.width = unscaledWidth - this.label.x - 20;
              }
          }
      }
      

      references com.lib.playbook our our inner classes, but you should get the approach to apply.

    • I need help to restore my visual voicemail that has been erased when I got the application called "which app»

      I got the application called "which app ' via the app store two weeks ago and since my visual voicemail has disappeared. In talking with an associate at the apple store, they told me that that app turns your voicemail and sends it to their server, so you cannot retrieve all messages left on your phone.  I reached out to my carrier and despite my deposit, delivery number reset my voicemail and other efforts, I'm still not able to retrieve all messages default.

      Has anyone else had this experience or know a solution?

      http://www.whoapp.co/#/support

    • Duplicate the application in the "open with" context menu

      Hi all

      On my iMac, the last OS X El Capitan.

      For an example, so I mediainfo application on the app store and it works fine, no problem.

      What happens if I go to a video rile, do a right-click, open with... There mediainfo twice, optionally including a version and the other a newer version if instead of upgrading to the new version of its kept the two versions?

      So I look under 'Applications' and that is only once not twice.

      I click and hold the icon for mediainfo in launchpad, it wiggles, I press x to delete it form party launchpad and its applications in the finder.

      But there must be somewhere because he is always right click on the menu 'Open with' and it actually load the program if you choose somehow even if it isn't the disk hard mac! ?.

      I did a search and don't see you mediainfo application anywhere on the disc hard mac.

      I have a copy of super duper of my HDD on an external hard drive that probably the application it but can it really be getting the external application and adding it to "open with" menu and launch the application from the external hard drive? If yes then this is not cool...

      I also noticed right on a PDF right-click, open with Watch 2 entrances of Safari 2 on iBooks, google chrome 2, all are an old version and one is a more recent version, where could he be getting from and the addition in the menu "open with?"

      If it is picking up my applications folder on the external drive backup and using that in the open with menu and launch the application from the external backup then it is really bad, it should only be launched from applications to disk hard mac shouldn't it?

      Any ideas?

      .

    • No access to the media of the Photo.app to other applications

      Hello. I migrated to the Photos.app iPhoto as soon as he was released. The migration process seemed to go well and I have access to all my photos and videos, now in the new Photos.app. The iCloud photo library has also all the pictures. It is all well synchronized. There is a small problem. Applications such as Apple Mail have a multimedia browser that allows you to access photos in the Photos.app. In my case, that some of them are appearing. Example: I have an album in the Photos.app called "funny pictures". It is a at least 100 photos in the album, but in the broser media appear only around six. Other albums are empty. Others seem to be complete.

      This support article, I checked: OS x: If you can't see the images in other applications iPhoto - Apple supported and pretty much done all the steps. I say almost because there is a step that requires you to find the AlbumData.xml file and move it to the desktop to force the creation of a new. I opened the package from the photo library, but there was no AlbumData.xml. I checked Macbook Air my wife and she has the file with a bunch of other files preferences and the flea market that I don't have a reason any.

      Obviously something is wrong. Apparently the migration process I messed up somehow.

      If someone could point me in the right direction, I really appreciate the help.

      GL

      If the pictures do not show in the media browser, check, if your current photo library has been activated in the system library in pictures > Preferences > General.  'Use as a Photo library system' should be greyed out.

      After you import new photos, it is best to quit the Photos and the application that accesses photos. This will force Photos to update databases of library for the media, and Safari browser or other applications of closing force it to refresh caches read from the media browser.

      In addition, you use iCloud photo library.  You have active "optimize Storage"? Photos download still pictures of iCloud, or full synchronization?

    • Call any thread DLLs the application crashes

      I have a built in 2015-labview application that acquires spectra of 6 spectrometers via an external dll. The dll triggers an event in labview when data is ready to be pulled from the spectrometers. Since this event, I am running a reentry no void / vi which contains a node function to retrieve the data, that are configured to run in any thread, as it gives a drastic improvement of performance as apposed to run in the UI thread.

      However this can slow down the application crash with a message from windows like the following journal:

      Name of the failing application: axiom 2.0.exe, version: 1.0.0.82, time stamp: 0x5581a6b7
      The failed module name: lvrt.dll, version: 15.0.0.4024, time stamp: 0x5581ac03
      Exception code: 0xc0000005
      Offset: 0x0000000000bec7c0
      ID of the process failed: 0x15c0
      Start time of application vulnerabilities: 0x01d11e6face9febd
      The failing application path: C:\Axiom 2.0\builds\Axiom 2.0\Axiom 2.0.exe
      Path of the failing module: C:\Program NIUninstaller Instruments\Shared\LabVIEW Run-Time\2015\lvrt.dll
      Report ID: 7d4ef3a8-8a91-11e5-94e9-90b11c894ef8

      I don't know if the dll is said to be thread safe or not. Also I do not understand how this causes a problem anyway since it is the only node that accesses the dll at the time, and each of the 6 spectrometers are interviewed in order?

      Is there anyway that I can still enjoy the benefits that the call of any thread dll provides without causing my application crash.

      An example of the increase in performance, it's that I can query the spectrometer from 6 to 70-80 Hz when configured to run in any thread, as opposed to a simple 10 Hz when the Run value in the UI thread.

      Thank you

      Jimmy01 wrote:

      I don't know if the dll is said to be thread safe or not. Also I do not understand how this causes a problem anyway since it is the only node that accesses the dll at the time, and each of the 6 spectrometers are interviewed in order?

      Is there anyway that I can still enjoy the benefits that the call of any thread dll provides without causing my application crash.

      Looks like that the DLL is not thread-safe. If you do not run in the UI thread, there is no guarantee that the DLL will be always called from the same thread, even if you only call it in one no reentrante Subvi. By default, LabVIEW allocates multiple threads by the enforcement system, with the exception of the user interface. If the DLL stores certain information of one call to the other, this context can be lost when run in a different thread.

      Here's a thread that provides two possible solutions; a wrapper DLL is required, use the other the utility 'threadconfig' (or the corresponding INI file settings) to force a subsystem of a thread executing unique http://forums.ni.com/t5/LabVIEW/Force-DLLs-to-tun-in-the-same-thread-expect-the-UI-Thread/td-p/11438...

      Another option would be to put the call to the DLL in a timed loop that runs constantly, and you can use a queue or the notifier to pass data to. A timed loop runs in a single dedicated thread, so I think it will work.

    • Windows Search 4 the program active with a log on before you can use the start menu. It is sometimes impossible to open an Office application.

      Original title: search Windows 4

      With Windows Search 4, the program active at the log on before you can use the start menu. Several search screens occur and reproduce when they are closed. Sometimes it's impossible to open an Office, research childcare opening application.

      Hi Ken_978,

      ·         How long have you been faced with this problem?

      ·         Did you do changes on the computer before the show?

      ·         The question is only limited to Office applications?

      ·         What exactly happens when you try to open an Office application? You receive an error message?

      Follow the suggestions below for a possible solution:

      Method 1: I suggest that you scan your computer with the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malware

      The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

      http://www.Microsoft.com/security/scanner/en-us/default.aspx

      Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

      Important: While running scan on the hard drive if bad sectors are found on the hard drive when scanning try to repair this area if all available on which data may be lost.

      Method 2: If this does not help then you can uninstall and reinstall Windows search 4.0 on the computer.

      Follow the steps below to uninstall:

      a. click on Start

      b. click Control Panel

      c. select Add / Remove Program

      d. place a check on "Show updates"

      e. you will see Windows Desktop Search 4.0 and uninstall it.

      Reinstall back, you can see the link below:

      http://www.Microsoft.com/Windows/products/winfamily/desktopsearch/choose/windowssearch4.mspx

      Hope this information helps.

    • Close application when the application switch menu item to invoke

      Hello, I made application for blackberry (os 5,6,7), but it has a strange behavior.

      When I press the switch application menu item, my request is close, so I can't get back to my application once I switched to another application.

      I have replace my onClose to be like this

      public boolean onClose()
      {
      This.Close ();
      Returns true;
      UiApplication.getUiApplication () .requestBackground ();
      getApplication () .requestBackground ();
      Returns true;
      }

      but the problem remains.

      Please help me solve this problem

      When you change your application, the close method is not pushed directly so I think that you look elsewhere this

      Try to use the Application Switch with an application example - say the sample HelloWorld application.  I think he won't, which suggests that the problem is in your application.

      There are three places to look:

      (a) the Application disable method is pressed when the request is sent to the background.  Maybe you have coded it and it closes the application

      (b) you have a certain type of background processing controls (isForeground()) and reacts according to what it finds.

      (c) in the method onObscured() to one of theFields/screen on the display at once.  .

      Other than that, I think you're looking for a general bug in your application.  The starting point is to look at the debugging log when you do this - look for anything from your application you consider odd.

    • How to make a single instance of the application regardless of the main application and the other entry point for the application

      Hello experts,

      I explain the sceniro of my application. My request is mainly a time system as well as some other features related businesses. My app has a landing screen which is actually a custom made calendar that accumulates information captured time. There is also a time where entry screen user at will has worked time and other related information. The user has the option to run the application manually at the entrance of the time and see the reports and there the event listener to follow the events of call/SMS/e-mail that invokes the application automatically and user to the scree of time entry.

      Problem one: I used headphones to follow the events of call/SMS/e-mail. When an event is called, alternet point of entry of the application the application is running. Application then get calls time, contact information etc. and push my entry screen with pre-filled information time.

      As such, it works very well, as expected, but the problem is the number of instence that he is creating. Each track event creates a new instance of the application. I want to keep only one instance.

      Two problems: to solve this problem, I removed the other point of entry and RuntimeStore to keep the running instance of my application. This instance of the application in a way keeps in singletone as such when the listener calls the application it finds that the application is running in the background. Then she moves the application to the foreground. It works very well, I mean the application user interface called on the foreground, but he won't have to time entry screen automatically as I hope. The block of code is as follows,

      public static final long applicationID =0x8ddc44508679bd5bL;
      static NSIApplication NSIInstance=null;
      RuntimeStore runtimeStore = RuntimeStore.getRuntimeStore();
      
      if (NSIInstance != null)
                  {
                      NSIInstance.requestForeground();
                  }
                  else
                  {
                      synchronized (runtimeStore)
                      {
                          NSIInstance = (NSIApplication)runtimeStore.get(applicationID);
                                              //listener initialization
                          NSIListener.Initialze();
                      }
      
                      if (NSIInstance != null)
                      {                   NSIInstance.requestForeground();
                                          //event's info manipulation and push the time entry screen                                     NSIInstance.RUN_NSIApplication();
                      }
                      else
                      {
                          NSIInstance=NSIApplication.getInstance();
                          NSIInstance.RUN_NSIApplication();
      
                          synchronized(runtimeStore)
                          {
                              runtimeStore.put(applicationID, NSIInstance);
                          }
      
                          NSIInstance.enterEventDispatcher();
                      }
                  }
      

      I expect a guideline to follow so that I can reach the expected my workflow. Thanks in advance

      I can't propose to use the runtimestore to store instances of the application, as it was used on an example RIM, he has never worked for me.

      I suggest to use a single point of entry and the automated screen using a global event or status in the runtimestore.

    Maybe you are looking for

    • IMRemoteURLConnectionAgent taking up the CPU

      I need help knowing what to do with a process that has taken over from the CPU. The computer is a brand new iMac (retina 4K, 21.5 inches, end of 2015). 3.3 GHz Intel Core I7. Actually right now, I have 3 computers with this same problem. There is a p

    • Fraudulent iTunes purchase

      It was in my email this morning.  Has not been touched my Bank and I hope I've taken quickly.  Makes me not want to order anything ever. Invoice APPLE [email protected] CHARGED [email protected]£54.99 DATE OF INVOICEJanuary 12, 201

    • Add a USB joystick

      Hi, I am a user Veristand 2011 SP1 and I'm working on a project thar runs on PXI. I need to control certain channels with a USB joystick connected to localhost. To do this, I created a device that is customized by using the simple tool of custom devi

    • What Linux is best for a X 60 and T60/61?

      @Ajkula66, which version or flavor of Linux that you think is the best for a X 60 and T60/61?

    • 6001 USB does not accept the inputs for thermocouple

      Now enter one of the differential analog inputs of the 6001 USB a type K thermocouple. I used the wizard DAQ to do, but the shows around 3 oC reading at room temperature. Has anyone else encountered this problem with the 6001 USB? (When I have an inp