Is there a way to communicate with USB devices from browser?

前端 未结 6 1968
孤独总比滥情好
孤独总比滥情好 2021-02-14 23:45

Is there a way to communicate with USB devices within regular browser (FF, Safari, IE8, etc)? I assume it could be Javascript -> Java bridge or something else.

Please a

6条回答
  •  难免孤独
    2021-02-15 00:23

    With Silverlight 4 (beta) there are ways do things like that, but only for trusted applications and maybe not the way you hope...

    It provides a API for COM Automation. That means you need a drive that exposes some COM interop for you or you have to write something to control the USB-Port/Device yourself.

    this article seems to be a good sample:

    http://sblakemore.com/blog/post/Silverlight-4-COM-Automation-e28093-Taking-photos-with-a-DSLR-using-Windows-Image-Acquisition.aspx

提交回复
热议问题