title: Writing to serial port in Android NDK
body: <p>I am trying to write a native program (in C, using NDK) that reads and writes data to the serial port in Android. However, I am not sure which serial port to use. There are so many of them under /dev (tty0 to tty63). Please let me know which port I need to use. I am able to view the system logs using putty (connected to a com port in my PC), but not the output from my program.</p>
  
  <p>Thanks.</p>