你能帮我吗?我想制作一个移动网站页面,其中提供外部设备详细信息的详细信息,连接到 USB 驱动器或耳机插孔,以及设备是否已连接。
请给我建议。
From a web-page? You can't.
Ask yourself: when have you ever seen this done. The answer is most likely "never", because you can't get that from javascript. A full java client might be able to, but: on a "Mobile Website" (which I interpret to mean: a web-site that works on mobile) that is next-to-never available.
You need a new design.
Also: frankly, I don't want your web-page looking at my USB ports.