我按照官网的教程:http://developer.android.com/guide/topics/connectivity/usb/accessory.h...
代码在:
UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);
UsbAccessory[] accessoryList = manager.getAcccessoryList();
在上面的两行代码时:我是用两台手机通过otg线连接,那个accessoryList一直都是null,获取不了设备,求教!!