Android的连接板块分5部分
Bluetooth 蓝牙 好吧 我基本没怎么用过
官网说蓝牙开发只要下面的步骤
- Scan for other Bluetooth devices
- Query the local Bluetooth adapter for paired Bluetooth devices
- Establish RFCOMM channels
- Connect to other devices through service discovery
- Transfer data to and from other devices
- Manage multiple connections
总体概括就是 1.浏览看看有什么设备 2.然后查询自己的adapter 3.然后什么channels 4然后用服务区连接 5.传输数据 6.管理好连接
NFC 近场通信 好吧 我手机好像还没有这种功能 基本没什么人用
WIFI P2P 这个非常重要现在到哪里都要先连WiFi 没有WiFi做不了朋友啊
USB 傻逼接口 这个还是挺有用的 平常要拉点什么数据到手机都是用它的
SIP 回话发起协议 这个是什么鬼 感觉这个是做网络电话的吧