How to operate the USB device by java

Hi,I am new to explore this fields...But I cant find any topics or threads talking about it at google.And I hasn't any clue now...So I need your help...Thank you very much
[207 byte] By [eingmarraa] at [2007-11-27 3:57:18]
# 1

It is probably easier to target a specific device, eg. a usb webcam.

Devices have device drivers, that's how you control the hardware.

WebCams typically have VFW drivers ( video for windows ), or WDM drivers.

Scanners can be accessed via Twain.

So, you probably want to mention what "type" of device you want to control.

I remember looking into a JUsb library, but it was very early stages of development, and not very functional.

regards,

Owen

omcgoverna at 2007-7-12 9:01:37 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2
Hi omcgovern :I want to invoke the video camera, is there any bridge between java and window's driver?thank you :)
eingmarraa at 2007-7-12 9:01:37 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 3

Hi,

The Java Media Framework library allows you to capture video and still images from a webcam.

Here's a fully working example I posted a while ago:

http://forum.java.sun.com/thread.jspa?forumID=28&threadID=570463

If you're talking about a camcorder, as opposed to a webcam, then it's starting to move out of my area of knowledge.

You really have to describe what you want to do... vague questions will receive vague answers.

regards,

Owen

omcgoverna at 2007-7-12 9:01:37 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 4

Just want to use the video camera which is on the microscope ,I need zoom in or out and use it to capture a snapshot into the program which made with Java...

I think the usb camera is a divice which seems the thing like webcam not camcorder because of its small volume... yes it is not as big as a camcorder...

Thank for your warmly answer, I will study the thread which you linked me !

Message was edited by:

eingmarra

eingmarraa at 2007-7-12 9:01:37 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 5

Do a search of google for the make & model of the camera, using the following extra search terms, and see what you get...."jmf", "java", "twain".

Failing that, go to the microscope manufacturers website, and see what information is available. Maybe send an e-mail to their technical support department asking how to connect to their camera.

regards,

Owen

omcgoverna at 2007-7-12 9:01:37 > top of Java-index,Java HotSpot Virtual Machine,Specifications...