【问题标题】:Bluetooth, TBluetooth component in delphi android app [closed]delphi android应用程序中的蓝牙,TBluetooth组件[关闭]
【发布时间】:2016-03-19 12:03:13
【问题描述】:

我必须使用 Delphi 编写一个移动应用程序。该应用程序需要通过蓝牙从Adafruit Feather 接收信息和数据。我用的是 Delphi XE5。

你会如何在 Delphi XE5 中做到这一点?

【问题讨论】:

  • XE5 是第一个支持 Android 的版本。与此同时,有4个新版本。很有可能现在 XE5 太旧了,无法使用它进行 Android 开发而不会遇到许多问题。就示例而言,请从 Delphi 文档开始。

标签: delphi firemonkey android-bluetooth delphi-xe5 adafruit


【解决方案1】:

RAD Studio XE7 是第一个向 RTL 添加原生蓝牙支持的版本。

RTL API for Bluetooth and Classic Bluetooth Support for App Tethering

Using Bluetooth

对于早期版本,您必须使用 JNI 访问 Android Java APIs for Bluetooth

如果没有与 Java 的一些交互,您将无法在 Delphi 中编写有效的 Android 应用程序,因此您最好学习如何去做。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-06-02
    • 2011-12-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多