GitHub repository: kimocoder/AndroidHidUsbRelayControl
Description: Using this example you should able to turn on/off HID USB relays