title: How to detect if Android has full USB support or not?
body: <p>My application uses <code>UsbManager</code> to communicate with USB cameras. Some devices don't have USB support. These will return <code>null</code> for <code>(UsbManager)context.getSystemService( Context.USB_SERVICE )</code>, or they will throw a <code>NoSuchMethodError</code> exception when enumerating devices. I can detect both and display a message properly. Unfortunately, some Androids that don't detect USB devices cause neither of these problems. They just return an empty list of USB devices. How can I properly detect that this system doesn't support USB OTG?</p>