Sub: code for accessing  4  webcams from the usb ports

sir ,
i want to connect 4 webcams in the system and access these four cams symultaneousely . how can i do that using java...
by ,johnpaul

> sir ,
Are you aware of the fact that there are female developers as well?
> i want to connect 4 webcams in the system and
access these four cams symultaneousely . how can i do
that using java...
A good place to start is you favorite search engine.
For example:
http://www.google.com/search?hl=en&lr=&q=java+webcam&btnG=Search

Similar Messages

  • Code for reading particular  fields from the file placed in application

    hi,
    code for reading particular  fields from the file placed in application server in to the internal table.

    Hi,
    Use the GUI_UPLOAD FM to upload the File into ur Internal Table.
    DATA : FILE_TABLE TYPE FILE_TABLE OCCURS 0,
             fwa TYPE FILE_TABLE,
             FILENAME TYPE STRING,
             RC TYPE I.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
      EXPORTING
        WINDOW_TITLE            = 'Open File'
       DEFAULT_EXTENSION       =
       DEFAULT_FILENAME        =
       FILE_FILTER             =
       INITIAL_DIRECTORY       =
       MULTISELECTION          =
       WITH_ENCODING           =
      CHANGING
        FILE_TABLE              = FILE_TABLE
        RC                      = RC
       USER_ACTION             =
       FILE_ENCODING           =
      EXCEPTIONS
        FILE_OPEN_DIALOG_FAILED = 1
        CNTL_ERROR              = 2
        ERROR_NO_GUI            = 3
        NOT_SUPPORTED_BY_GUI    = 4
        others                  = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    READ TABLE FILE_TABLE INDEX 1 into fwa.
    FILENAME = fwa-FILENAME.
        CALL FUNCTION 'GUI_UPLOAD'
             EXPORTING
                  filename                = filename
                  FILETYPE                = 'DAT'
           IMPORTING
                FILELENGTH              =
             TABLES
                  data_tab                = itab
             EXCEPTIONS
                  file_open_error         = 1
                  file_read_error         = 2
                  no_batch                = 3
                  gui_refuse_filetransfer = 4
                  invalid_type            = 5
                  OTHERS                  = 6 .
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    Regards,
    Balakumar.G
    Reward Points if helpful.

  • Using iDVD, I've no problem creating a slideshow, but I want to add three seperate sound files, in this case speeches I've got in iTunes. I want to create three individual buttons/sub menu to access them individually from the photos. Can anyone help

    Using iDVD I've no problem creating a slideshow, but am having problems trying to add three seperate sound files in this case three speeches that I hold in iTunes. I want to be able to access them individually and seperately from the photo slideshow. Can anyone advise if this can be done and if it can, how I go about creating the seperate menu and buttons.

    If you'd like to integrate the speeches with the slideshow, I'd do that in iMovie where you'll have more control over the timing.  Use chapter markers at the beginning of each speech so the viewer can jump to a particular speech (note that chapter markers advance the viewer to a particular spot -- the viewer keeps watching the rest of the video until the end of everything or until they use the remote's menu button).
    If you're just wanting the speeches to be on the DVD so people can listen to the speeches after seeing your slideshow, you could:
    - use iDVD or iMovie to make a "slideshow" with just 1 image matching the length of a speech.
    - create three submenus and use the speeches as menu music.  Here's a (random) video on creating submenus:
    http://www.youtube.com/watch?v=DlhQSb_D5kc
    John

  • Reading USB joystick data directly from the USB port

    I have made a program to read USB joystick data in Labview using the "initialize joystick vi" and "acquire input data vi". I noticed that these vi's use the data from windows XP. The joystick calibrating function of windows can influence the data that Labview shows. For instance: axis 1 uncalibrated data(before calibration in windows) 3901 to 32767. After calibration in windows Labview shows me data on the same axis ranging from -32767 to 32767.
    Is it possible to read the data from the joystick before windows "messess" it up?

    USB protocols are a messy black hole.  The way each USB item communicates to the operating system is dependant on the products manufacturer.  I think that is why there are no USB functions built into LabVIEW.  Perhaps there is some way to force a calibration at the beginning of your code so that the data is consistent on each execution??? 
    Also, if I remember right, there were some recent posts concerning reading a USB mouse that you could search for to get some ideas.
    Good luck and please post a follow-up if you come up with a good solution. 
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • Invisibile external HDD connected from the USB port.

    heya guys ive got a problem getting my maxtor external hdd to show on my mac.
    yesterday it was working (well, it was only letting me download files from the drive to my macbook) but today its not showing as being connected to my macbook at all!!
    the only difference is that today i downloaded the software updates from the company for the drive. any suggestions??
    thanks!

    I had a similar problem. I had to unplug my drive from the mains to reset it. Just turning it off did not do anything. Hope this helps.
    Mort

  • My 80gb IPOD classic will connect to and then immediately disconnect from the USB port in my BMW 528i.  My wife's works fine in the same car. I can't se any difference.

    This an IPOD I bouth used.  Everything esle works fine.  It syncs to my computer and plays my music but will not connect to the USB interface in my car. My wife's IPOD, which seems to be identical, works fine.  Any ideas?

    This is the iPad forum - try asking in the iPod classic forum.
    https://discussions.apple.com/community/ipod/ipod_classic

  • Something won't let me disconnect my ipod from the USB port

    I plugged in my ipod to update my new downloaded songs. My computer never recognized my ipod and now the "do not disconnect" message won't go away. I tried clicking on icon in the lower right hand corner that usually tells me when it's ok to disconnect but it's not giving me the "ok".Can any one help me? I know that my sister unplugged hers with the "do not disconnect" message and she had to buy a brand new ipod. HELP!

    This is the QuickTime for Mac forum and so probably not the best place for you to get help with your issue. I'd suggest you ask in the iPod area; choose the "connecting to Windows" forum appropriate for your model of iPod.
    Good luck.

  • I yanked my external hard drive from the USB port by accident.  Is everything lost?

    I can't believe I did what I did.  I always unmount properly.  Regardless, I can't go back in the timeline and see my backups.  I checked "get info" in the Finder and the data is still on the external hard drive.  I also verified the disk and everything came back as "okay".
    Can someone please tell me if I can correct what I did, or have I lost everything.
    Thanks,
    Betty

    Hi,
    As I suggested to shutdown and reboot your Mac ... is okay, but you need to shutdaown your External HD Backup to.
    Shutdown everything ... Mac and Ext-HD.
    Now plug-in the Ext-HD again ... NO POWER.
    Now reboot your only your MAC.
    Now power up your Ext-HD ... wait and see what happens.
    Post back ...
    Dimaxum

  • Is it possible for an external device to burn out the USB port?

    I think the available current of the USB port is 500 mA. If a USB device can work with a current of 500mA ~ 600mA, is it possible for it to burn out the USB port with 600mA current (larger than the safe 500mA) when connected? Or the port can never provide a current larger than 500mA?
    Thank you.
    P.S. The USB device I worry about is a pair of USB warm slipper (to be worn on feet in cold winter). Its label reads "5V / 2.5W", which should be safe. But I once connected it and a mouse to a USB hub, then to a single MBP USB port, and the mouse stopped working in a few seconds, and came back normal only after I switched it to another port. Now the slipper is connected to a port by itself, but I am just afraid that the USB slipper can go malfunctioning all of a sudden and drain a lot of current to burn the USB port.

    ...But I once connected it and a mouse to a USB hub, then to a single MBP USB port, and the mouse stopped working in a few seconds, and came back normal only after I switched it to another port....
    Likely the hub is only barely able to handle the 500mA requirement.  Many powered USB hubs have "cheap" power adapters and can't handle any high surge situations.  Many devices like heating elements and motors have "surge currents" where the initial powering on of the device has a much larger current flow than during normal usage.  Think of it like riding a bicycle.  You have to push hard on the pedals to start off, but it's easier to pedal after the bike is moving.
    ...Now the slipper is connected to a port by itself...
    If you mean the device is plugged into the Mac's USB port, then you should know that all Macs for the past few years provide more than the 500mA minimum for USB.  Some other computers also provide higher power.  But most USB hubs I've seen were limited to 500mA.
    If you are plugged into the hub, not the Mac, then the power adapter for your hub may be barely adequate or possibly even defective.
    ...but I am just afraid that the USB slipper can go malfunctioning all of a sudden and drain a lot of current to burn the USB port.
    IMHO, I would stop using the heater with any computer USB port.  There is always the possibility that eventually something could short out in the heating element and cause a catestrophic surge through the USB port.  The electronics in computers are quite delicate and I'd be paranoid about the device damaging my computer.  (BTW, I have an electrical engineering background so I'm paranoid about power issues all the time anyway. )  Even if the heater is plugged into a hub, the surge current could damage the other devices plugged into the hub.  While not as catastrophic as a dead computer, I'd still be irked to have to replace my mouse, digital camera, printer, webcam, etc.
    Instead, I recommend plugging the heater into it's own "power adapter."  One of those that give a USB port to charge a cellphone or whatever.  Plug the power adapter into a power strip.  Place the power strip in the floor next to the slippers.  That way you can conviniently turn the strip on and off with your toes as you're putting on your slippers.

  • Downloading music via the USB port from Zen

    I love my Zen but it would be nice to be able to dock it and listen to it when connected to my PC?or the USB port on my car radio, neither work in this mode. The car radio works fine when WMA files are loaded from a USB jump dri've but when the same files are on the ZEN they do not load from the USB port. The car radio manufacturer says it supports iPOD connection. On the PC I have to copy the files to another dri've to listen to them which is daft.

    Thank you for your reply.  I know I can use a card reader however I don't see why I should when importing directly from my camera has worked reliably for years.  The process I use is simply connecting the digital output from my camera to the USB port on the iMac, which has previously automatically opened iPhoto ready for the import.  Now all of a sudden my iMac does not recognise the camera.  However if I connect in the same way to my MacBook then iPhoto opens automatically on the MacBook, recognises the camera and is ready for importing.  So whilst I know I can use a reader, or my MacBook I want to use my iMac in the same way that I have for years.  I can only assume that the settings on the iMac may have changed, but I cannot verify this.

  • Have airport extreme, square model, have a external harddrive to use as back up(formated for mac)hooked it up to the usb port in back. can't find it on my computer. what am i doing wrong

    have the airport extreme, square model. have a external harddrive formated for mac hooked up to the usb port in back.
    i can't find the harddrive on the computer for back up in timemachine. what am i doing wrong?

    First, if you are not aware, you need to know that Apple does not officially support Time Machine backups to a drive at the USB port of the AirPort Extreme.
    That may be part of the problem here, so if you want to continue to try this, you need to understand that there are no guarantees of success.
    Some users do seem to be able to make this work, but most have some problems and some....like me....have nothing but problems when they try this.
    If you want to continue to try this, the first thing to verify is that the drive is formatted specifically in Mac OS Extended (Journaled). Have you verified that the drive is formatted correctly by connecting it directly to your Mac and using Disk Utility to check?
    Some drives that are advertised as being "compatible for Mac" are not formatted correctly in Mac OS Extended (Journaled). Time Machine has no chance of success unless the drive is first formatted correctly.
    I would also ask that you consider leaving the drive connected to your Mac for Time Machine backups. That will be supported, and is a far more reliable way to keep backups if your data is important to you.
    Next, we need to know what operating system you are running on your Mac. If you do not know, click the Apple icon in the upper left corner of the screen and then click About This Mac.  Post back with the OS X Version number that you see there.

  • I have used all the usb ports on the back of my iMac desktop [2009] - in one I have a hub - too many?

    The longer I have had my 2009 desktop iMac, the more I am needing usb ports.  I only have 3 on the back.  Currently 2 are used for the 2 printers I own and the other has a 3 branch hub in it for my mouse, keyboard and card reader.  I have the mouse and keyboard attached this way as the cords work better for me in my workspace.  I am using one of the ports on my keyboard for my mp3 player.  Now I am branching out into the computer world and have tried using a flash drive.  However when I tried plugging it into the other usb port on my keyboard, I get the message that there isn't enough power to support it.  Same message when I tried one of the three ports in my hub.  So the only way I could get my flashdrive to work was to unplug a printer, plug in the flash drive till I was done with it and then plug in the printer again.  Since I am sure that this plugging and unplugging constantly would not be a good thing, I am now contemplating getting a better hub so I could permanently have a usb hub open for my flash drive.  I figure I can always use a port on my keyboard for my card reader as I don't use that very often.  My question is: "If I do get a better hub to put on my 3rd port on the back of the computer, will that be too much for the poor thing?"

    Generally, you should use hubs (of which the keyboard is one) for devices which don't need to get their power from the USB port ("bus-powered"). Portable drives (including flash drives) are bus-powered; printers and other larger devices which have separate power cables are not. So the printers should attach to your hub, and small devices should connect directly to the Mac.
    Now, some hubs are actually powered themselves, and these are better suited for powering small devices.
    There are some good options here:
    http://eshop.macsales.com/search/usb+hub
    Are both your printers USB-only, or can they be networked (either wired or wirelessly)? That would save you some ports.
    Matt

  • Can I connect an external hard drive to my Airport Express and share it to store files on between two machines via the usb port. The machines are a MacBook and a fairly new Win machine. Printers and Airplay as well as wifi work perfect.

    Wondering about the above.

    ... I bought a hard drive at an Apple store because they told me I could hook it up through my Airport express.
    Bzzt. Nope. Bring it back.
    Read: http://support.apple.com/kb/HT2421
    Question: What is an AirPort Express?
    Answer: An AirPort Express is a Wi-Fi base station. Besides acting as an Internet access point, it has several specialized features which make it ideal for specific needs.
    Printer - Act as a wireless interface for one printer connected to the USB port, making it available to your network
    "Hook it up" - in the sense that a wireless device may be wirelessly "hooked up" to an Express - is a different matter; like "hooking up" with a friend.
    Words mean things. Imprecise words mean imprecise things. That generally doesn't end well.
    Apple ought to read this stuff once in a while.
    John Galt wrote:
    I thought you were asking about a USB hard disk attached to the Express. That won't work.
    I thought right. That won't work. An Extreme or Time Capsule will.

  • Programming the USB port with J2ME

    Hi:
    I searched for information on the Internet on this subject but found nothing good. I wonder if you can program the USB port on J2ME to write and read data.
    If the answer is yes, someone has some simple example? I use NetBeans.
    Thank you very much.
    Frederick (Translated by Google)
    Edited by: fede1976 on Jan 6, 2010 9:24 PM

    Hi:
    Thank you very much! I watched this document and apparently not very difficult.
    My question now is more general: most current phones, regardless of the company that manufactures, allow reading and writing from the USB port from J2ME?
    Thanks again.
    Frederick (Translated by Google)

  • Problem with the USB ports

    The usb ports work, but when i start up my computer, occaisionally the mouse won't work.  I'll have to unplugg it from the usb port, wait ten seconds, and plug it back in and it'll work fine.  I was just wondering if anyone knows what might be the problem here. I'm on XP Pro, and i have the K7N2G-6570G-ILSR with the latest drivers installed.  thanks to anyone who can help
    -Merc

    I am having the same problem with my ADSL modem (speedtouch 330), and it is getting more worring as my initial modem has stopped working entirely  , and I have had to borrow one from a friend, but it is starting to do it as well. 
    So help is required asap, before it fails althogether.
    Marc U.

Maybe you are looking for