开发者

Confusion Regarding createInsecureRfcommSocket()

I'm aware that Android 2.3 has the meth开发者_如何学运维ods: createInsecureRfcommSocket() and createInsecureRfcommSocketToServiceRecord(). I've been searching for a way to exchange data between devices, both using my application, without the need for pairing/bonding and user confimation. Will these methods allow me to, say, connect to a brand new device never before paired, and exchange data without prompting the user in any way?

Thanks. I was unable to find a specific answer to this question elsewhere.


The pairing process will still happen, except that if Devices are 2.1 and above, then the user will not be prompted for confirmation or for entering passkey during the pairing process. This is called using the "just works" model for pairing.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜