【问题标题】:data transfer from android device to pc using bluetooth and sockets使用蓝牙和套接字从 android 设备到 pc 的数据传输
【发布时间】:2016-03-09 10:18:52
【问题描述】:

我需要使用蓝牙将数据从我的安卓设备传输到我的电脑。 实际上,我认为最好的解决方案是为我的 android 设备创建一个客户端套接字,为我的 pc 创建一个服务器套接字,以实现此数据传输并查看结果。请问有什么有用的东西吗?

我正在开发 Android Studio

【问题讨论】:

  • 你需要提供一些你到目前为止所做的代码。

标签: android sockets bluetooth


【解决方案1】:

如果您尝试通过蓝牙发送数据,您需要实现 BluetoothSocket 逻辑。您可以在这些链接中找到一些教程;

http://code.tutsplus.com/tutorials/create-a-bluetooth-scanner-with-androids-bluetooth-api--cms-24084

http://www.elecfreaks.com/677.html

如需详细google docclick here

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-20
    • 1970-01-01
    • 2014-02-08
    • 2018-06-01
    相关资源
    最近更新 更多