Java applet with usb access in Windows and Linux
We're developing a kind of gadget with usb connection but would not to force our users to install any driver and program in their computers, so... ¿it's possible to develop a java applet that work in linux and windows and have usb access? (We're java developers but nerver before worked with applets)
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:
- 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.
Does your app's interface need to be embedded in a web page? If not, you might want to look into Java Web Start, which lets you run Java Applications by clicking on a link in a browser.
精彩评论