@TargetApi(Build.VERSION_CODES.HONEYCOMB_MR1)
    public static boolean hasUsbHostFeature(PackageManager manager) {
        return manager.hasSystemFeature(PackageManager.FEATURE_USB_HOST);
    }
@ TargetApi ( Build . VERSION_CODES . HONEYCOMB_MR1 ) public static boolean hasUsbHostFeature ( PackageManager manager ) { return manager . hasSystemFeature ( PackageManager . FEATURE_USB_HOST ) ; }
Checks if the device has an USB host.
@param manager the package manager.
@return {@code true} if the device has an USB host.