Code Monkey home page Code Monkey logo

Comments (5)

reillyeon avatar reillyeon commented on May 22, 2024

On Windows, opening a USB device requires the system to have loaded the "WinUSB" device driver. Since Windows comes with serial drivers already, you have to manually replace this driver in order to test the polyfill on this platform. You can do that using the Zadig tool.

If you are hitting the same issue on Android then you are probably running into the issue I mentioned on Stackoverflow where Android is loading drivers for the device even though there's no API for an Android app to actually communicate with the device through that driver. We're tracking a potential fix for that in https://crbug.com/1099521.

from web-serial-polyfill.

arcbtc avatar arcbtc commented on May 22, 2024

Is there a fix for this yet? Having web-dev serial available for android creates a whole load of interesting uses for microcontrollers. Webbdev nfc is available, and is useful.

from web-serial-polyfill.

brandonros avatar brandonros commented on May 22, 2024

Is there a fix for this yet? Having web-dev serial available for android creates a whole load of interesting uses for microcontrollers. Webbdev nfc is available, and is useful.

Sounds like not. The only idea I can think of is to make an Android APK that is basically a WebView with some kind of bridge for IPC?

That's assuming the Android app/APK will be able to call this "detach kernel module" function for USB devices.

from web-serial-polyfill.

rfermontero avatar rfermontero commented on May 22, 2024

I'm not able to use it from an android webview either. Seems API does not exists because is always undfefined.

from web-serial-polyfill.

reillyeon avatar reillyeon commented on May 22, 2024

I'm not able to use it from an android webview either. Seems API does not exists because is always undfefined.

WebUSB support for Android WebView is tracked in crbug.com/933055. Please star that issue to show you are interested in it being developed.

from web-serial-polyfill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.