Android3.1introducedUSBhostmodewhichallowstheusertoplugUSBdevicestoyourAndroidtabletinthesamewayasaDesktopPCandextenditsfunctionality(ifthetablethasthecorrectdriversofcourse).
Thisapplicationwillprovideinformationaboutalmostallcurrentlyplugged-inUSBdevice(seebelowformoreinfoaboutthe'almost').
Informationincludes:
•TheDeviceclass
•TheUSBdevicepath
•TheVendorID(VID)andtheProductID(PID).
•AListofallinterfacesandtheirendpoints.
Ifyoudownloadtheaccompanyingdatabases,theapplicationwillalsobeabletoprovideyouwithadditionalinfosuchastheVendorofthedevice(whichisnotnecessarilythebrand!),thevendor'slogoandtheproductname.
Thisapplicationusestwodifferentmethodstocollectinformation:
1.AndroidmodewillusethenativeandroidUSBAPI.
2.Linuxmodewillparse/sys/bus/usb/devices/.
Eachmode(Android/Linux)willprovideslightlydifferentinformation.ForexampleAndroidmodewillgiveyoumoreinformationaboutadevice'sendpointsandinterfaces,whileLinuxmodewillgivemoreinformationaboutthedeviceitself(serialnumber,howitidentifiesitself,etc.)
DeviceSubclassresolutionwillbeaddedinthenextversion.
IwrotethisapplicationasanexercisetoexplorefragmentsandthenewUSBhostAPI.Hopefullyitwillbeusefultosomeoneelse.
•Thedatabaseisparsedfrom:http://www.linux-usb.org/usb.ids
•Alllogosarethepropertyoftheirrespectiveowners
•Noads.
•Sourcecode:https://github.com/alt236/USB-Device-Info---Android
***
Pleaseemailmewithanybugs/problems/featurerequests.Icannotreplytomarketcommentswhichcanmakedebuggingdifficult.
***