How to Catch External device's Event

hi frndz
i connected Dental Web Camera in my PC.i want to capture his click event.can i capture its click event.
or any other way to catch its generated event.
actually i want to store picture(Taken from Camera) into database.
can u help me to solve this problem or can u provide me any solution
thanks in advance
Edited by: ajju29 on Mar 20, 2009 2:40 AM

IMO:
If Your camera don't ofer any SDK, you should check OS API and next search how catch events in your OS.
if you develop for windows, check msdn.microsoft.com
this links i find in google, maybe can help you"
http://www.velocityreviews.com/forums/t130113-swing-how-to-catch-all-events.html
http://www.experts-exchange.com/Programming/Languages/Java/J2SE/Q_23643749.html *(you must pay)
http://www.javareference.com/jrexamples/viewexample.jsp?id=9
http://www.microdoc.com/download/EDFoop2000_EN.pdf
and more,
ask google.
Edited by: Skowroniasty on Mar 20, 2009 10:52 AM

Similar Messages

  • How to catching Clear-Sort button event?

    Does any one know how to catch the event when user click the Clear-ALL-Sort button? I would like to do somthing in Java by catching this event.
    thanks in advance.
    John

    I'm not really sure what you mean.
    LIke, I want to use the three event listener functions like a global or static function for all of the buttons which I think I've done for the most part.
    However, I'm having an issue with the current state of the button. Like...
    1 - on
    2 - off
    3 - off
    4 - off
    1 - off
    2 - on
    3 - off
    4 - off
    1 - off
    2 - off
    3 - on
    4 - off
    1 - off
    2 - off
    3 - off
    4 - on
    Really redundant right? So I want to beable to pass something through the event listener functions somehow so I only have to right the listener section once instead of 4 times.
    Know what I mean? If I was in an external document class structure I could just re-create my own event listener class to pass aonther property/parameter. But I don't know what I can do within AS3 internally in the Flash movie to do this.
    Just seems likes there should be a relatively simple way to do this, but I'm not sure how many errors I'd have to wade through or if it's even possible.

  • How to make external devices (like iPods, etc.) NOT mount as connected drives when plugged in via USB to a Mac?

    If I plug my iPod (or a thumb drive or whatever) to my Mac's USB port, the device appears as a icon representing a connected drive on my Mac's Desktop.
    This is normal, expected behavior.
    HOWEVER, in some cases, I'd prefer that the device not "mount" as a connected external drive.
    With thumb drives or external USB drive, of course, I want them to "mount" so I can transfer files on or off them -- that would be the only possible reason to connect an external drive like that.
    But with other Apple devices like iPods or iPhones, there are TWO possible reasons to connect them to a Mac: either to "sync" them or transfer files on/off them; OR, to simply recharge the device's battery. (Or, both sync and recharging functions at once.)
    For those people who use their Apple devices in ways that require transferring files (i.e. most people), then having the device "mount" as a connected device is a desirable behavior.
    But in my circumstance (and I bet there are a lot of people in a similar circumstance), I have no need or desire to transfer any data to or from my device every time I plug it into my Mac: I'm plugging it in SOLELY to recharge the device's battery.
    Specifically, in my case, I have a 6th-gen iPod Nano, and I use it exclusively as an FM radio and a pedometer. I don't have any mp3s or songs or any other external files loaded on it, nor do I plan to add any in the future.
    The only reason I ever plug it into my Mac is so that I can recharge the iPod's battery.
    But the "problem," which is a minor one I admit but a problem nonetheless, is that every time I connect the iPod to the Mac, the iPod appears as a "connected drive" icon on my Mac's desktop. Which means that I'm not supposed to just unplug the iPod  when I'm done -- first, I have to find its icon on the Mac Desktop, and then drag the icon to the Trash, to "unmount" it -- and only then can I freely unplug the iPod without getting an error message telling me that I shouldn't just disconnect connected drives without first properly unmounting them.
    This would be bothersome enough if I only had to do it once per connection, but in the case of the iPod Nano, there's no way to tell how recharged it is while it is in the act of recharging, so that to see if I'm "done," I have to unplug it, check the battery status, and if it's not fully charged, re-plug it back in. So that each time I recharge it, I often have to unmount the drive several times, depending on how impatient I am.
    There has to be a way to prevent the mounting of the drives of devices that one is connecting simply for the purpose of recharging. But how?
    Strangely, I also have an old iPhone, and when I plug that in for recharging in the same way, it DOESN'T appear as a connected drive on the Desktop. I'm not sure how I managed to do this, but long ago I must have changed some setting or preference for this to happen. And by now I've forgotten what I did.
    I'd prefer that I could change the "mount/don't-mount" setting on a device-by-device basis -- i.e. make it such that this particular iPod doesn't load, but perhaps a different iPod would load -- but if that's not possible, then is there a way to stop ALL iPods and iPhones from loading as connected drives when plugged in?
    (I'm not talking about appearing as connected drives within iTunes -- I'm talking about appearing as an icon on the Desktop in the Finder.)
    And please don't tell me to just buy a wall charger! I prefer to recharge off my computer if possible, using the charging cord that came with the iPod.
    I presume there's some simple setting to toggle this on or off, but I haven't yet found it. Any clues would be appreciated. Thanks!

    Well, I already know about that Finder Preferences option, but that is not what I'm looking for. Why not? Because I still need CDs and DVDs to appear on the Desktop and mount properly! If I uncheck the "CDs, DVDs and iPods" option, then I lose the ability to access CDs and DVDs, which creates a whole new problem for me. What I want is to not mount iPods only -- actually, what I really want is to not mount this particular iPod -- but if that level of specificity is not possible, then I want to exclude just iPods from mounting, without also condemning CDs and DVDs (or whatever) to invisibility.
    Also, I was confused by the way the Preference is worded: It says "Show these items on the Desktop," with a series of options to check. But this phraseology seems to mean that the unchecked items will still "mount," they simply won't appear as Desktop icons. One would still have to "Eject" them using a menu command, rather than dragging the icon to the Trash -- right? Or am I mistaken, and is the Preference Pane simply badly worded, and when they say "Show these items on the Desktop," what they really mean is "mount these external devices as connected drives." So that if a category is unchecked, then they won't load as external drives at all?
    But if so, then what purpose could possibly be served by inserting a CD or DVD that is not recognized by the computer? And if it isn't recognized, then it would seem that there would be no way to ever Eject the CD or DVD disk. Right?
    Thus, if I uncheck that Finder Preference box you suggest, one of two outcomes will result:
    -- Either CD, DVDs and iPods are still mounted, they just won't appear as icons on the Desktop; but they would still need to be Ejected via a menu command, which doesn't solve my problem.
    -- Or, CDs, DVDs and iPods are not mounted or recognized by the computer at all, which means that if I insert a disk into the disk drive, it will get stuck there forever, since there's no way to Eject it, since the OS doesn't recognize that it's even there. Which is thereby a new problem.
    Either way, I'd have a problem! Or...? Clarification, anyone?

  • How to catch cell lost focuse event of matrix

    Dear all
    can you tell me how to catch the cell lost fouc event of matrix.
    i want to check the value is entered the that cell, which is not greter than the extising value..
    thanks in advance......

    Hi
    For that you can use either validate or lost focus event
    Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
            ' BubbleEvent sets the behavior of SAP Business One.
            ' False means that the application will not continue processing this event.
            ' Validate event
            If (pVal.FormType = 133) And (pVal.ItemUID = 38) And (pVal.ColUID = 1) And _
              (pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE) Then
                If (pVal.Before_Action) Then
                    'write your code
                End If
            End If
            'Lost focus event
            If (pVal.FormType = 133) And (pVal.ItemUID = 38) And (pVal.ColUID = 1) And _
             (pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS) Then
                If (pVal.Before_Action) Then
                    'write your code
                End If
            End If
        End Sub
    Hope this helps
    Regards
    Arun

  • How to catch Find and add event of toolbar in UDO addon ?

    Hi experts ,
        please help me anyone How can i catch Find and add event of SAP  toolbar in my UDO addon ?
    thanks in advance
    Surajit

    Hi,
    Try This.....
    'In Menu Event
    If pVal.MenuUID = "1281" And pVal.BeforeAction = True Then   'Find
                      sbo_application.Messagebox("Find Mode")
    end if
    If pVal.MenuUID = "1282" And pVal.BeforeAction = True Then     'Add
                      sbo_application.Messagebox("Add Mode")
    end if
    Thanks
    Shafi

  • How to catch global transaction timeout event

    Hi all,
    I need to find a way to catch global transaction timeout events. By default, there are only two transaction related events can be caught:
    .SysTransactionHeuristicAbort
    .SysTransactionHeuristicCommit
    Is there a way to add transaction timeout to the list. Thanks in advance.

    Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

  • How to catch IE7 tab change event in Java Applet?

    My applet have some modeless dialogs, When I start my applet with modeless dialog in tab1, if I swith to tab2, the modeless dialog of tab1 remains open.
    So I want to catch the tab change event, and set modeless dialog invisible when tab changes.
    Who knows the solutions.... Thanks

    To get to the IE7 browser, you'll have to go through JNI if you're using Java to get to a C level interface. You'll have to write the code to interface to it also. IE7 does not have a Java interface, inface, MS has a vested interest in not supporting a Java interface. You'll have to look up the IE7 developers docs to see the OLE interface you'll have to hit.

  • How to catch a key down event in TextEdit UI element ?

    Is it possible for me to catch 'Enter' and 'Esc' key when I input something ?
    Best regads ,

    hi, Shishir ,
    I see the on key event in input field , yes , the TextEdit does not has any event . But how can I meet such requirement ?
    When the user click enter on TextEdit , I should do something , When the user click escape , I should do something ?
    Best regards ,

  • How to connect external device to sound card?

    - Hello!
    I have X-Fi gamer, but when I connect my external sound device there is no sound. Actually there is, but only when I plug it into the microfon in (white), but then the sound is very low quality.
    In Vista speaker properties the Line In is unmuted and set to 00.
    Any advice?

    There have been a number of threads discussing using the parallel port. One of the resent ones, having to do with LabVIEW 8.2 may be found at :http://forums.ni.com/ni/board/message?board.id=170&message.id=254900&requireLogin=False
    A search on "parallel" in the discussion forums will return a log of links.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • How to catch "Move" and "Copy" Events

    I want certain functions to be called whenever a user moves an existing PageItem on a Page, or when he copied a PageItem onto a Page.
    Which event should I be listening for, and to which object should the listener be attached?
    TIA,
    mlavie

    Harbs - you there?
    I can;t find any help for this elsewhere on the web - would really apprciate a response.
    mlavie

  • How to catch a mapping failure event

    Hi All,
    Is there a way to catch  a mapping fauilure and take an appropriate action like sending a fault message to the sender system?
    Does the fault message feature serve the same purpose? Will a fault message be always triggered if there's a mapping failure?
    Thanks,
    Sandeep

    Hi Santhosh,
    Thank you so much for your answer. I've assigned you points as well
    Is it possible to write some custom code for managing this alert? An example:
    When a mapping failure occurs, I would like to make a web service call to the sender system.
    Ay thoughts?
    Thanks,
    Sandeep

  • How to catch the ApplicationStart event??

    how to catch the application start event??
    i want to do some actions (Java code) that will be run once when the application started
    this like ApplicationStart event in ASP.NET
    how ???

    Google for javax.servlet.ServletContextListener. You need to write a class that implements this interface and register it in web.xml.
    Please ask questions like this in the JDeveloper or OC4J forum since they are not related to JHeadstart.
    Steven Davelaar,
    JHeadstart Team.

  • Catching NFC device arrival and departure events in service

    We have been trying to capture NFC events of device arriving and departing, and also sending and receiving data. So far we have a desktop application that can do that successfully (traditional Windows Desktop app, not a metro app). What we are trying to
    do is to capture those events and data using a service, but do not see any events or data when using a service.
    We were under the impression that, because our system runs as NT AUTHORITY/SYSTEM, the NFC events are not getting sent to it. To change the context to local user, we  used something similar to
    this to impersonate local user within the service, which does change the context to local user, but still does not catch any NFC events or data. (We verified that execution context changed by using WindowsIdentity.GetCurrent().Name). 
    So our questions are:
    How to detect NFC device in proximity, and receive data, using a service? And what is the reason it does not work currently? (Is it for security that the OS is not allowing it?)
    Are there any restrictions as to who can listen to NFC events?
    Can we, for the sake of debugging, see anywhere in Windows (e.g. Event logger) if there are any NFC events? (We can here the ping sound that comes when a device is detected close by)
    Thanks a lot! Appreciate your help!

    Technical issue is already verified by the service center and confirmed the phone is dead, issue is no DOA is provided even though the phone got dead in a day.
    Refer to the Lenovo complaint id here
    LenCare ID: C130827012
    Link to job sheet
    Link to product delivery:
    I need this resolved ASAP
    Moderator Note; links to documents containing s/n or private information edited for member's own protection

  • How To combine two Itunes libraries, and run Itunes off of external device

    Hi,
    I have a very blonde question to ask. I have the ipad2 (now very old) and a Macbook Air - Currently I have one itunes library on my Macbook Air, and one on my itunes - not sure how I did that, but here we are.
    I would like to combine both the libaries - as one seems to have my older apps, all my music and movies, and the other on my Macbook air seems to have all my newly downloaded apps.
    How do I merge both of them so that all my info is in once place, and how do I get my itunes to run back off of the external device, as there is not enough space on my macbook air.

    By "device" I presume you mean your iPad?
    Computers running iTunes are intended to be the master source for your collection.  i-devices are designed to be synced from a computer's collection.  They are not intended to be the main repository of your collection.  If you need that, consider buying an external hard drive for your media collection.  You can transfer items purchased from Apple from a device to a computer, but depeneding upon your country and iCloud availability you should also be able to download them from the iTunes Store to your computer again too.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - this is just purchased music, not all
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not all media formats are available in all countries (see: iTunes in the Cloud and iTunes Match Availability by Country - http://support.apple.com/kb/HT5085 ); apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this).  Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones, audiobooks), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple recommends  "you always back up your iTunes library in the event that a purchased item is no longer available on the iTunes Store."

  • How to catch call events?

    Hi, I'm trying to develop a java application for mobile devices (mobile phones) that should automatically Reject when somebody calls (based on some rules).
    I don't know how to catch the "+call event+".
    Can anyone help me ?

    Hi,
    This is not possible using core Java ME (CLDC + MIDP). You can initiate a call in MIDP 2.0 by using platformRequest.
    The optional JSR 253 makes it possible to do what you want do do, but I haven't seen any devices with this JSR implemented.
    http://jcp.org/en/jsr/detail?id=253
    -henrik

Maybe you are looking for