Disconnect a bluetooth socket in Android
Posted
by rejoperejo
on Stack Overflow
See other posts from Stack Overflow
or by rejoperejo
Published on 2010-06-13T09:56:03Z
Indexed on
2010/06/13
10:02 UTC
Read the original article
Hit count: 294
Hi,
I'm developing a program in which, from an Android Phone, I have to connect as a client to a Bluetooth medical sensor. I'm using the official Bluetooth API and no problem during connection (SPP profile), but when I end the socket, the sensor is still connected to my phone (although I have close the connection).
Are there any way to make a Bluetooth disconnection? I think there is an intent called ACTION_ACL_CONNECTED, which does that. Can anyone explain me how to use this?
Thanks in advance.
© Stack Overflow or respective owner