开发者

Why BluetoothChat sample cannot connect?

I am usin开发者_运维问答g the default android sample code "Bluetooth Chat" with HTC Hero. Search device is working and when I click on the list, it can do the pair job and display connecting on the title. But it will throw IOException when call BluetoothServer.connect().

PS: I am not connecting to a bluetooth adapter on PC.


I fount the reason. The bluetooth adapter can only support Obex Push Object Protocol. So change the UUID to 00001105-0000-1000-8000-00805F9B34FB is ok now.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜