Hello All,

I am currently developing an application using RfComm in Bluetooth and
have everything working except for the following.

I am wrapping the InputStream I obtain from the Bluetooth socket in a
BufferedReader and calling readLine() which blocks if there is no
data.

So far I have found no way of interrupting the readLine in a way which
leaves the Bluetooth stack in a working state.

Closing the underlying socket will interrupt the readLine() but
following this the Bluetooth adapter is not usable anymore until I
stop and start Bluetooth on the phone. This is possibly and bug.

Anyone have any ideas?

Thanks,
Serge

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to