且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Java小程序在Windows和Linux USB访问

更新时间:2023-11-19 21:11:28

我猜你已经选择了一个USB API。 这是一个选项。你必须采取以使它作为一个小程序的工作步骤是:

I guess you have chosen a USB API. This is one option. The steps you have to take in order to make it work as an applet are:


  • 数字签名的小程序 - 它需要的权限来使用USB API

  • 把USB API的.jar文件的文件夹中的Web服务器上,包括在小程序标记(S)的归档属性。 See我的回答对细节这个问题。

  • digitally sign the applet - it would require permissions to use the USB API
  • put the .jar file of the usb api in a folder on your web server and include it in the archive attribute of the applet tag(s). See my answer to this question for details.