我正在开发基于蓝牙的应用程序,我想连接其他设备,比如诺基亚设备和打印机。
我参考了Android蓝牙文档http://developer.android.com/guide/topics/connectivity/bluetooth.html。它展示了所有基本的蓝牙API功能,而我已经完成了这些事情。
我从Android的BluetoothChat示例中获取了参考资料。
我参考了Android蓝牙文档http://developer.android.com/guide/topics/connectivity/bluetooth.html。它展示了所有基本的蓝牙API功能,而我已经完成了这些事情。
Scanning for other Bluetooth devices
Querying the local Bluetooth adapter for paired Bluetooth devices
Establishing RFCOMM channels/sockets
Connecting to a remote device
Transfering data over Bluetooth
我从Android的BluetoothChat示例中获取了参考资料。
BluetoothChat This application send data to another android device but for that this application must be installed in both the devices.
像这样的 如何通过代码从Android设备向其他设备发送文件
我的要求是
- 我想从我的应用程序将文件从一个设备发送到另一个设备,即使另一个设备没有运行我们的应用程序也可以使用默认的蓝牙接收文件。
在Android中是否可能实现此功能?