使用Java进行设备检测 [英] device detection using java

查看:147
本文介绍了使用Java进行设备检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何显示设备名称以及通过USB连接的设备属性,我能够检测到插入的驱动器,但是如果连接iphone,则不会创建驱动器,因此如何检测该设备.

how to display the name of device along with its property connected with USB,i am able to detect the drive which are plugged in,but if am connecting iphone no drive is created so how to detect that device.

推荐答案

http://stackoverflow .com/questions/8515161/detecting-device-type-in​​-a-web-application [
http://stackoverflow.com/questions/8515161/detecting-device-type-in-a-web-application[^]

check this link


USB设备已连接到您的计算机,因此被操作系统引用.

因此,实际上并不需要检测设备-您只需检查USB设备并请求它们是谁即可.

Java和USB @ Java.net [ ^ ]
The USB Device is connected to your computer - and therefor referenced by the operting system.

SO there is not really a need to detect the device - you can simply check for USB devices and request who they are.

Java and USB @ Java.net[^]


这篇关于使用Java进行设备检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆