How to send raw data from Android device to host?
<p>I am trying to send some data (in the form of raw bytes ) from my device to host(connected through USB). What can be the different ways to do it ?? </p>

<p>One idea is to write the raw bytes in one of the  ring buffers (in /dev/log/) and let the  logcat read it. But logcat  expects the formatted strings in ring buffers, Is there a way to modify the behavior of logcat ??</p>

<p>or is there a way to create a tcp connection between host and device to transfer the data???</p>

<p>Any other suggestions ??</p>

<p>Thanks.</p>
