Write data to USB HID using Javascript, HTML5, or any cross platform language (supports Android) -
I have written a UI in HTML5 and Javascript I chose this implementation so that I am both between Android Chrome and Windows 8 RT Only share the code.
Now, my next goal is to write data to a USB HID, the device I'm communicating with is considered to be a hidden. I am referring to this part, if a USB RAW is a way of writing on the HID device instead of the device.
I have done a lot of research on this matter. But, HTML5 5 glasses are changing so often that I miss something.
Anyway, can suggest a language or implementation that I can use to access the common code to access USB devices on Android, Windows 8 RT? If there is no way to share between the two, then how about the suggestion for getting USB communication on Android? Below is my research conclusion: Silverlight: In terms of UNSUPPORTED web plugin, on Windows 8 RT or Android Not supported Flash: Possible options are supported in both operating systems, though they have removed support for Android with the release of Jelly Bean HTML5: UNSUPPORTED Javascript: UNSUPPORTED By my understanding, this is because it will be a security risk. Chrome Packaged App: Make sure about support in UNSUPPORTED Windows 8 RT but, it is not even supported in Android Chrome. Java Applet: Make sure about support in UNSUPPORTED Windows 8 RT but, it is not supported in Android Chrome, either. Some helpful posts I really thought about how such things It is a way to do this .... This is a way to do this if your computer has control over which the USB is attached device: The computer with the USB device Running a web server like Apache / PHP Does it only listen to localhost Then the HTML page is being viewed, execute AJAX posts to local AHOX / ENZAX.FP (or CGI or CFM or whatever). Communicate on the USB device in the php / cgi script, and then Jason String is saying something back in the browser. Update: Update: Another way is to use the custom URL protocol. You can make your executable and "install" on the client computer with your custom URL protocol. Then you can use the executable from your browser using your custom URL protocol.
Comments
Post a Comment