title: Detect USB to send USB Serial using Android Tablet
body: <p>I would like to ask how to get and detect the USB.</p>
  
  <ol>
  <li>The red one wire connect to usb to have 2 connections</li>
  <li>The second wire connect to CPU to debug using Android Studio</li>
  <li>Connect to terminal like printer(this one i want to connect but i cant figure it out how to detect and send data from this).</li>
  </ol>
  
  <p>because I'm trying to send data from the serial port, but the thing here is that the device has 3 usb ports. Its similar to COM PORTS in windows.</p>
  
  <p>I'm using Java and Android Studio.</p>
  
  <p><a href="https://i.stack.imgur.com/HUYfQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HUYfQ.jpg" alt="enter image description here"></a></p>