blueooth barcode getInputStream()
<p>im using a blueooth barcode reader
to deliver text to an edit text</p>

<p>the problem is that it cuts the barcode text for about half the time
and delievers me an incomplete text</p>

<p>i am using the class "BluetoothSocket"
this is my reading code:</p>

<pre><code>int bytes = socket.getInputStream().read(buffer);

message = message + new String(buffer, 0, bytes);

// Send the obtained bytes to the UI Activity
handler.post(new MessagePoster(textView, message));
</code></pre>

<p>i am looking for a way to make the action of getInputStream() be longer
thank you for your help</p>
