我参考了很多文章。
How to receive images via Bluetooth
https://github.com/googlesamples/android-BluetoothChat
How to receive data via Bluetooth on Android?
data transfer from android device to pc using bluetooth and sockets
https://developer.android.com/guide/topics/connectivity/bluetooth
How to send and receive data in Android Programming using bluetooth without pairing?
答案 0 :(得分:0)
要在两个设备之间进行数据传输,必须实现Bluetooth套接字并连接到该接收设备。您可以在此处找到详细信息。
https://developer.android.com/guide/topics/connectivity/bluetooth
只需尝试在其上使用演示项目即可。