How to create a Listener to start/pause/stop a  media player

Hi there,
I am writing a multimedia Advertisement application. Which will play a list of media clips one by one. HOWEVER, there is NO Button in it. Since this application is for cash register. That means whenever a purchase happens it will stop play the Ads and it will continue play the Ads clips afterwards.
So, I am thinking to setup some Listener on the player to listen to the control message from the till. As I said there is no GUI button, so I can not define the action listener as before.
How can I define such a listener ? any thought?
Thanks a lot.

Yesss, it is working again, thanks to you.
A quick recap for those who may need it:
- 1. delete the keys to Oracle listeners in HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services.
- 2. follow the instructions detailed in Metalink under "Note:311399.1".
- 3. Reboot.
- 4. in the LSNRCTL shell issue the following commands:
-- a. set current_listener <listener_name>
If the listener was left without a name, substitute "listener" for "<listener_name>".
-- b. start
Thank you again for your help and time.
adsm

Similar Messages

  • How to create a Listener to start/pause/stop a DIY media player

    Hi there,
    I am writing a multimedia Advertisement application. Which will play a list of media clips one by one. HOWEVER, there is NO Button in it. Since this application is for cash register. That means whenever a purchase happens it will stop play the Ads and it will continue play the Ads clips afterwards.
    So, I am thinking to setup some Listener on the player to listen to the control message from the till. As I said there is no GUI button, so I can not define the action listener as before.
    How can I define such a listener ? any thought?
    Thanks a lot.

    Hi Ican, 
    Upon opening your Vi I am getting an error that says, "The file you are attempting to play has an extensions (.) that does not match the file format." What extension are you using? Are you able to play files with extensions that are compatible with Windows Media Playter? If so, then I would suggest converting your playlist filenames an extension that Windows Media Player is able to play.
    Regards,
    Jackie
    DAQ Product Marketing Engineer
    National Instruments

  • Creating OS400 tasks to start and stop CCMS agent

    Hi all,
    Does anybody have any information about how to create the jobs to start and stop the CCMS agent on an iseries machine?
    Regards,
    Koen Engelen

    All,
    Starting the job interactively works great, I'm able to start and to stop the agent.
    But when I schedule the job in the jobscheduler it does not run. The following error is given:
    ILEWRAPPER calling sapccm4x: cannot find PASE executable "sapccm4x" in path
    Can anyone please help?
    Best regards,
    Koen Engelen

  • How to create business operation for starting workflows

    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java class everything
    works fine(wlpi-ejb.jar is required), but when I call business operation from
    Studio I can't use classes from wlpi-ejb.jar.

    Business operation is called by WLIS. So, I include wlpi-ejb.jar into WLIS classpath.
    Studio uses deployed EJB from wlpi-*.jar, I don't know why Studio doesn't see
    methods from deployed EJBs when WLIS classpath contains wlpi-ejb.jar.
    "Andrew Pitonyak" <[email protected]> wrote:
    >
    When studio starts, what is your classpath? If you use the included batch
    file to start it, then your class path may not include this :-)
    Andrew
    "Raul" <[email protected]> wrote in message
    news:[email protected]..
    How to create business operation for starting workflows from worklist?
    When I call methods that implements business operation from java classeverything
    works fine(wlpi-ejb.jar is required), but when I call business operationfrom
    Studio I can't use classes from wlpi-ejb.jar.

  • How do I use my deactivated Droid 2 as a media player?

    I know it's possible, because I used it for a while after I got my iphone and then my son used it with his number temporarily  when he broke his phone, I've restored it to factory settings but can't get past the activation screen. Can't I use the device with wifi without activating it? Or is this expensive device good for nothing since no one wants to use it as a phone. I'd like to use it as an alarm clock/media player but how do I do that? I called Verizon support and she told me it isn't possible but I'm not willing to give up that easily. Help please! Save this device from the landfill! TIA, L.

    Sure wish I was more patient. What I ended up doing was temporarily reactivating the phone since I knew it worked after I initially stopped using it. I downloaded the apps I wanted then I turned it off and reactivated my iphone. All appears to be well but I will file your instructions away for possible future reference. Thanks a bunch!
    Date: Sun, 10 Feb 2013 15:48:20 -0700
    From:
    To: >Personal email address deleted<
    Subject: Re: How do I use my deactivated Droid 2 as a media player? - Re: How do I use my deactivated Droid 2 as a media player?
                                                                                    Re: How do I use my deactivated Droid 2 as a media player?
        created by tikibar1 in DROID & DROID 2 by Motorola - View the full discussion
    See if this works to bypass the activation screen: On the Welcome screen with the 'touch the Android to begin' icon, tap each of the four corners of the screen, starting with the top left, i.e.:- Tap the top left corner of the screen, then- Tap the top right corner of the screen, then- Tap the bottom right corner of the screen (just above the grey bar), then- Tap the bottom left corner of the screen (just above the grey bar) Wait a few seconds and you should see the home screen
    Message was edited by: Verizon Moderator

  • Urgent - How to create new listener in Apache

    Hi,
    I was till now using OAS 4.0.8.2 on NT4 SP5 as our middle tier. We had two sites running on two different listener.
    Recently installed 9iAS 1.0.2.1 in place of OAS 4.0.8.2. My problem is Apache server has one HTTPserver service with default port 80.
    I want to create new listener on different port for our two sites. How can i do with Apche server.
    Would appreciate if someone post an early solution.
    Thanks in advance.
    Vipul

    Your listener.ora may become something like this :
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = /S01/app/oracle/product/10.2.0/db_1)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = <db name>)
          (ORACLE_HOME = /S01/app/oracle/product/10.2.0/db_1)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.148)(PORT = 1521))
    SID_LIST_LISTENER1526 =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc1526)
          (ORACLE_HOME = /S01/app/oracle/product/10.2.0/db_1)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = <db name>)
          (ORACLE_HOME = /S01/app/oracle/product/10.2.0/db_1)
    LISTENER1526 =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1526))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.148)(PORT = 1526))
      )You'll have two listeners :
    1. listener => port 1521
    2. listener1526 => port 1526 (listener1526 is a free name, you can name it as you want)
    To start/stop listeners :
    $ lsnrctl start/stop => to start/stop listener on port 1521
    $ lsnrctl start/stop listener1526 => to start stop listener on port 1526

  • How to create a listener using the new MDM API

    Does anyone have an example on how to create a addrecord listener using the new MDM API?

    Refresh!
    Hi all,
    Looking for some sample codes on the same
    Best regards,
    Arun prabhu S

  • How to create a listener for an Object.

    Can someone help me with creating a listener for an Object?
    What is the easiest way?
    For example... if I have the following class.... how could I set up a listener to know if "attribute1" value has changed?
    class MyObject {
    private int attribute1;
    private int attribute2;
    // Set the attribute
    public void setAttribute1(int num) {
    attribute1 = num;

    This can be done but depends on your situation. give me some more details about the program.
    In the worst scenario, u can set up a thread watching this variable to check for its previous value. if the value is different, u can get an alert.

  • How to create a listener service at command line?

    Hello,
    I want to create and configure a listener service in an installation script.
    lsnrctl does not support the creation of this service.
    netca or netmgr require user interactions.
    Is there an other tool to create the listener service or is it possible to use netca/netmgr with special options in a command line mode?

    Thank you very much - it works.
    When I execute the command
    "lsnrctl start"
    I get the error message
    "Failed to open service <OracleOraDb10g_home1TNSListener>, error 1060."
    but the service is created and is running.
    So the error message can be ignored.

  • How to use counter as an start and stop trigger in 6009

    Hi ALL.
    I'm using USB 6009 as a subject of to acquire data.
    I would like to know on how to use the counter digital input as a start and stop trigger. 
    The acquisition will only start when the first pulse of the digital signal is received and it will stop when the desired number of pulse is received.
    I was trying to use the VI as attachment as my reference. However, after tried, the VI is not working for USB 6009 as the counter input cannot be used as a trigger.  
    I would be happy if anyone could suggest me some ideas on this matter.
    Thanks.
    Attachments:
    DigitalStartandStopTrigger.vi ‏32 KB

    Hi Kate. 
    Thanks for your response.
    For your information, I've design my VI using the counter method. However, it doesnt work well. Please see the figure below. The file also attached with this reply.
     At first, the first counter from Device 2 will start counting. If the counting equal 0, then the acquisition for Device 1/AIO also the counter of Device 1/ctr0 begin acquiring data and counting the edges respectively.
    However, when I did the test, it doesn't work as wanted. It is happened because when counter of device 2 in not equal to 0, the acquisition for Device 1 not happened as it will go to false state.
    Is there anything that someone could suggest on how to start the acquisition for device 1 only and if the counter of device 2 is equal to 1. I would like the acquisition of device 1 start only when the counter of device 2 is equal to 1. I cannot use the trigger as 6009 is not support for it. 
    -Fird- 
    Message Edited by Fird on 07-02-2009 04:28 AM
    Attachments:
    Acquire Data Test 4.vi ‏27 KB

  • How pausing execution of media player when this Vi closes

    Hi,
    I would like to use a subvi that executes 20 seconds of playing movie with media player and then pauses. For this I succeed writing it.
    Next, I would like the vi closes and when the main vi recall the subvi, I want that the movie plays in the state it finished before.
    Is it possible to do this?
    Thanks in advance.  

    Hi nousome,
    this could be done by setting in the "VI Properties"- dialog the options "Show Front Panel when called" & "Close afterwards..." in the section "window appearance". Then let the video play for 20 seconds, when the VI finishes it closes by itself. After this, all local variables (controls & indicators) which are not connected to the connector pane keep their state until you unload them from memory (close LabView). So you can store the current video position inside the VI and start the video at this point with the next VI- call.
    Another good solution to save values inside a sub-VI between VI- calls is an uninitialized shift register. If you have difficulties implementing this lok at the example "Single Execution Uninitialized Shift Registers.vi". I found this in my LV 7.1 but older versions should have this example too.
    Hope this helps,
    Dave
    Greets, Dave

  • "NOT RESPONDING" message whenever I start using my Windows Media Player

    I don't know what it is that causes this - if it's something to do with having the lesser expensive Hewlett-Packard computers, but this is the 2nd HP laptop I've had and the one thing I've had in common w/both of them is that, one, I got them for under $500 - about $445 or so, w/tax...anyway, I suppose that the more expensive HPs are better and wouldn't have petty problems like this - but anyway, - the last one I had & this one I currently have - the last one was a Windows 7 and this one is Windows 8, so the O/S has nothing to do w/my problem.  Anyway, it's like this:  every time I turn on the PC, then get it all revved up & ready to go, etc. when I turn on my Windows Media Player (WMP) the thing comes up on screen and it sometimes takes a few seconds, since I have about 740 CDs worth of music on here, but anyway, once the CDs show up on the WMP album page (where they're put up in alpha. order of LP name, as opposed to artist names, etc) - and so, when I go from the "A"s downward, just paging through it, looking for something to listen to, for instance, it ALWAYS, inevitably, without fail, gets stuck, sometimes sooner, sometimes later, but usually by the time I get to the Cs or  Ds, the thing gets stuck and freezes up on me and I can't do anything w/it. Then, when I try to click the mouse a couple times or whatever, I get a message at the top of the WMP box - on the top of the box it reads "Windows Media Player", like usual, but when it freezes up like this and it stays stuck for anywhere from 10 seconds up to a minute sometimes, the message that pops up right next to the "WMP" label on the blue border reads "NOT RESPONDING".  99% of the time, it just takes a little patience and sometimes just clicking the mouse buttons a few times and/or hitting a few keys on the keyboard (not hard, just randomly pressing down on some) - then it will finally come back & unfreeze and I'm usually able to continue browsing through my catalog, but there has been other times when it seems to be in worse shape - it'll read "NOT RESPONDING" for a while and no matter how much I click the left or right mouse buttons, tap the mouse on the pad, or whatever, it might come unstuck for a few seconds, then, I think I'm OK again, but sometimes, as soon as it looks unstuck, I can't get it to move at all and right away the "NOT RESPONDING" message comes right back up (and the page fades a little too) - in fact, lately, just before I did a refresh thing on my PC to try & get things to work better, it was giving me big trouble, it would just sit there, stuck, frozen up and nothing I did would unfreeze it.  I'd be frantically trying to unstick it, but no matter what I did, it'd still be frozen and when it does that, I can't get it to do anything.  Recently, when it would do this, sometimes, if I had not tried to get too far down in the alphabet, I can get a certain album open and get it to start playing, but the "NOT RESPONDING" message will pop up now and again, but the music will play all right, uninterrupted. 
    Anyway, this is very annoying.  It's been happening for so long now, that I basically take it for granted that it's going to freeze up on me when I 1st bring it up.  I have no idea what's causing this to happen; like I said, this happened when I had a previous HP laptop that was working with Windows 7.
    Kind of a long-winded way of putting this issue to anyone, but I just wanted to be clear and specific. 
    Is there ANYONE out there who owns a cheapo HP? (not a Compaq, the computer co. HP bought for that purpose, to make their cheap computers and differentiate them from the HPs) - But I wonder, it's been so long since I've even checked -does Compaq even exist anymore as a separate entity from parent co. HP?  If not, then that explains why there's a difference between HP laptops that are $400 or so (at Best Buy) and the more slick, expensive HP laptops that have all the bells & whistles and usually run over $1000.  Of course, I'm not about to shell out twice as much money to buy an HP just to see if the more expensive ones don't behave the way their cheap models do.  I also had a Toshiba I bought about 3-4 years ago and I had even more problems with that - one instance was when the CD drive went out on me and I had to ship it in to HP (still under warranty, thank heavens) and they put a new drive in and shipped it back to me.  It also crashed one time, and got infected with a virus or two or three, which meant I had to re-set the computer back to the original factory settings and, not having an external hard-drive with which to back up all my music, pix, documents, etc (my music is the most important stuff on my computer to me), which meant that I had to go through this long hassle of replacing all the music I'd lost. I have a lot of my own hard copies of CDs, but there were so many more CDs that I didn't have copies of, so I had to visit the library over & over, checking out as many as 25-30 CDs at a time on a lucky day, when the library had a lot of the CDs I needed to replace in my WMP.  I don't want this to happen again, so I am going to get an external hardrive but I still don't know for sure if that would work. At least, by resetting the PC to factory settings I was able to get rid of the virus(es) that were screwing my computer up badly 
    So - has anyone out there had any similar problems?  If so, I would appreciate any help or suggestions you may have as to how to deal with this sort of thing. 
    Thanks a lot.  Hope to hear from one of you out there in the future. 
    Have a nice 4th...
    Kent M.

    Hello kmanthie,
    I just sent you a private message. If you are not sure how to check your forum messages, this post has instructions.
    I worked on behalf of HP.

  • Can listen to my songs in Windows Media Player. No audio with You Tube etc. (???)

    Very frustrated. I have alot of good stuff i
    n folders I can listen to in Windows Media Player. I can adjust my volume up & down etc. I
    go to YouTube to watch and listen....NOTHING, no audio.
    #1. I do have latest Flash Player installed
    #2. I did uninstall and reinstall it.
    #3. I have gone into START>MY COMPUTER and adjust volume settings etc.
    #4. While a video plays in YouTube right-clicked and gone into Global Settings
            and turned up volume there etc.
    Anything else I am missing?
    Thank you!

    See:
    * https://support.mozilla.com/kb/No+sound+in+Firefox
    * https://support.mozilla.com/kb/Video+or+audio+does+not+play
    You can click the Volume icon on the Windows Taskbar near the clock and click the Mixer link at the bottom to open the mixer.<br />
    You can adjust the volume level for each application in that window, so make sure that Firefox is not muted or set at a low level.<br />
    Current Firefox versions use the plugin-container process to run plugins, so you need to check the volume setting for the plugin-container process.<br />
    You will only see the Firefox program or the Plugin Container in the Mixer if you are on a website that plays sound.<br />

  • How do i get my ipod nano/i tunes/windows media player to work together

    how do i get anewly purchased i pod nano tp work with i tunes and windows media player

    I am having the same problem. All my music is in My Music folder including itunes folder. All i want to do is tell itunes where it is but itunes keeps copying the files to its own folder, so mi end up with 2 files for everything (1 in MY Music folder and 1 in Itunes folder)?
    Please tell me i can get round this as i prefer the way windows media player files my music and as it is all mp3 then i dont understand why itunes cant just know where it is instead of needing its own copy.?

  • How do I save then play a slideshow to windows media player?

    I have a slideshow created in iphoto that I would like to play on a PC in Windows Media Player. I tried to save it in Quicktime, but it wouldn't play on my PC at work. Any suggestions?

    If you have Quicktime Pro you can open the movie in Quicktime Player 7 and export it to a wmv format that will play in the Windows Media Player.
    You might be able to convert it with Quicktime Player 7 without the pro option.  You'll have to test it and see.  There are other conversion applications that will do the trick.  Go to MacUpDate.com and search for :convert movie".

Maybe you are looking for

  • More than one iCloud and match on the same iMac

    We have 3 users accounts and 3 apple ids on the same iMac. Can we each use our own icloud on our own user account , as previously with itunes match have got myself locked out for having the computer associated with more than one apple id.

  • Error connecting to JServer/EJB

    Hi all, I've successfully deployed a BC4J Application Module as EJB Session Bean into Oracle8i 8.1.6. The test on this Application Module works fine. The client code that calls the EJB is: package ricercalista.client; import java.util.Hashtable; impo

  • Java.lang.IllegalStateException: HttpSession is invalid problem

    Hi, I get randomly in my application "java.lang.IllegalStateException: HttpSession is invalid" exception thrown when I call getAttribute() method on a HttpSession instance. weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:4

  • Transferring music from nano ipod to itunes

    I have a ton of songs on my ipod that I would like to put into itunes. Is there a special program I need to do that? If so what is it? Thank you!

  • Tabs and tab groups are lost

    Closing Firefox and restarting it, invariably all my tab groups seem to have lost their tabs. Reopening hibernated groups or closed groups (using tab group manager add-on) will not help. This did not happen on my previous install but since having upg