Android list usb devices -


hy out there try list usb devices connected android tablet. use https://play.google.com/store/apps/details?id=hu.sztupy.android.usbhostcontroller&hl=en check if device decteds usbkeyboard , yes on both tablets , tastatur working on both tablets. code looks like

  usbmanager musbmanager;      musbmanager = (usbmanager) getsystemservice(context.usb_service);         musbmanager.getdevicelist();           hashmap<string, usbdevice> devicelist = musbmanager.getdevicelist();          iterator<usbdevice> deviceiterator = devicelist.values().iterator();         this.outputtext.append(devicelist.size()+"geräte gefunden");         this.outputtext.append(musbmanager.tostring());         usbdevice device=null;         while(deviceiterator.hasnext()){             device = deviceiterator.next();               this.outputtext.append( device.getdevicename()+" vendorid: "+device.getvendorid()+"  productid"+device.getproductid()); } 

the strange thing is, works on archos titanium hd doesnt work on fujitsu m532. doing wrong?

best regards


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -