USB-Device-Info---Android

所属分类:android开发
开发工具:Java
文件大小:147KB
下载次数:108
上传日期:2013-10-10 11:58:47
上 传 者garyting
说明:  android 通过读取文件,检测外接设备。
(android read through the document, detects external devices.)

文件列表:
alt236-USB-Device-Info---Android-018ff85 (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\.classpath (372, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\.project (861, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\AndroidManifest.xml (1320, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\_media (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\_media\icons (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\_media\icons\icon.svg (45706, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\_media\icons\icon_hires.png (70951, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\proguard.cfg (1248, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\project.properties (361, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\drawable-hdpi (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\drawable-hdpi\icon.png (5210, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\drawable-mdpi (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\drawable-mdpi\icon.png (3202, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\drawable-xhdpi (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\drawable-xhdpi\icon.png (7618, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\drawable (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\drawable\image_border.xml (328, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\drawable\no_image.png (1676, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\drawable\tab_text_selector.xml (442, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout-xlarge-land (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout-xlarge-land\act_main.xml (3743, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout-xlarge-land\usb_info_android.xml (5199, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout-xlarge-land\usb_info_linux.xml (6192, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout\act_main.xml (3604, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout\act_usb_info.xml (438, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout\list_item.xml (538, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout\usb_info_android.xml (4670, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout\usb_info_linux.xml (5584, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout\usb_table_row_data.xml (416, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\layout\usb_table_row_header.xml (287, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\menu (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\menu\frag_menu.xml (323, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\menu\main_menu.xml (717, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\values-xlarge-land (0, 2012-05-09)
alt236-USB-Device-Info---Android-018ff85\res\values-xlarge-land\styles.xml (1212, 2012-05-09)
... ...

Description ----------- Android 3.1 introduced USB host mode which allows the user to plug USB devices to your Android tablet in the same way as a Desktop PC and extend its functionality (if the tablet has the correct drivers of course). This application will provide information about almost all currently plugged-in USB device (see below for more info about the 'almost'). Information includes: * The Device class * The USB device path * The Vendor ID (VID) and the Product ID (PID). * A List of all interfaces and their endpoints. No ads. Apart from using the build in API it now also parses "/sys/bus/usb/devices/" to display devices which are hidden by the Android OS, although in less detail. Notes ----------- * If you download the accompanying databases, the application will also be able to provide you with additional info such as the Vendor of the device (which is not necessarily the brand!), the vendor's logo and the product name. * The Vendor ID database is the one used by my "USB VEN/DEV Database" application. Updating in one application will also update the other. * As this application is using the default Android API some devices might not appear. USB Hubs (and devices connected to them) are invisible event though they seem to function properly, and mice seem to be filtered out of the provided list. I'm looking into ways to fix this. * Export to file/email and Device Subclass resolution will be added in the next version. * I wrote this application as an exercise to explore fragments and the new USB host API. Hopefully it will be useful to someone else. * The database is parsed from: [http://www.linux-usb.org/usb.ids]() Changelog ----------- * v0.0.1 First public release\n * v0.0.2 Added Interface and Endpoint resolution\n * v0.0.3 Databases can now be downloaded.\n * v0.0.4 Now also parses /sys/bus/usb/devices/ for those pesky devices android hides. Added export. * v0.0.5 Added support for small screen devices. Bugfixes and stability improvements. Permission Explanation ----------- * ACCESS_NETWORK_STATE: Used to check if the device is on-line and using which interface. * INTERNET: Used to go on-line and download the updated database. * WRITE_EXTERNAL_STORAGE: Used to write the database to the SD card. Links ----------- * Market link: [https://market.android.com/details?id=aws.apps.usbDeviceEnumerator]() * Webpage: [http://aschillings.co.uk/html/usb_device_info.html]() * Github: [https://github.com/alt236/USB-Device-Info---Android]() Credits ----------- Author: [Alexandros Schillings](https://github.com/alt236). All logos are the property of their respective owners The code in this project is licensed under the Apache Software License 2.0. Copyright (c) 2011 Alexandros Schillings.

近期下载者

相关文件


收藏者